Skip to content

Commit

Permalink
Minecraft 1.20.5 backport
Browse files Browse the repository at this point in the history
  • Loading branch information
LostLuma committed Aug 13, 2024
1 parent 7443875 commit 67d11ca
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 12 deletions.
6 changes: 3 additions & 3 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ maven_group = juliand665
archives_name = dynamic-fps

# File naming version
minecraft_version = 1.21.0
minecraft_version = 1.20.5
# Version for publishing
minecraft_version_min = 1.21
minecraft_version_max = 1.21
minecraft_version_min = 1.20.5
minecraft_version_max = 1.20.6

enabled_platforms=fabric,forge,neoforge,quilt
8 changes: 4 additions & 4 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
[versions]
minecraft = "1.21"
minecraft = "1.20.6"

# Platform libraries

fabric_loader = "0.15.10"
fabric_api = "0.100.1+1.21"
fabric_api = "0.97.8+1.20.6"

forge = "1.21-51.0.33"
forge = "1.20.6-50.1.12"

neoforge = "21.0.143"
neoforge = "20.6.119"

quilt_loader = "0.25.0"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@

public class ResourceLocations {
public static ResourceLocation of(String namespace, String path) {
return ResourceLocation.fromNamespaceAndPath(namespace, path);
return new ResourceLocation(namespace, path);
}
}
5 changes: 4 additions & 1 deletion platforms/fabric/src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,10 @@
},
"depends": {
"fabricloader": ">=0.15.10",
"minecraft": ">=1.21.0-alpha.24.20.a",
"minecraft": [
"1.20.5",
"1.20.6"
],
"mixinextras": ">=0.3.2",
"fabric-resource-loader-v0": "*",
"fabric-lifecycle-events-v1": "*"
Expand Down
2 changes: 1 addition & 1 deletion platforms/forge/src/main/resources/META-INF/mods.toml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,6 @@ file="META-INF/accesstransformer.cfg"
[[dependencies.dynamic_fps]]
modId = "minecraft"
mandatory = true
versionRange = "[1.21.0,)"
versionRange = "[1.20.5,1.20.6]"
ordering = "NONE"
side = "CLIENT"
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,6 @@ file="META-INF/accesstransformer.cfg"
[[dependencies.dynamic_fps]]
modId = "minecraft"
mandatory = true
versionRange = "[1.21.0,)"
versionRange = "[1.20.5,1.20.6]"
ordering = "NONE"
side = "CLIENT"
4 changes: 3 additions & 1 deletion platforms/quilt/src/main/resources/quilt.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,9 @@
},
{
"id": "minecraft",
"versions": ">=1.21.0-alpha.24.20.a"
"versions": {
"all": [">=1.20.5", "<=1.20.6"]
}
},
{
"id": "mixinextras",
Expand Down

0 comments on commit 67d11ca

Please sign in to comment.