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 Jun 24, 2024
1 parent df610e4 commit 7259fec
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 7 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ org.gradle.jvmargs = -Xmx3G

# Mod Properties
mod_version = 3.5.0
minecraft_version_min = 1.21.0
minecraft_version_min = 1.20.5

maven_group = juliand665
archives_base_name = dynamic-fps
Expand Down
6 changes: 3 additions & 3 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.5"

# Platform libraries

fabric_loader = "0.15.10"
fabric_api = "0.100.1+1.21"
fabric_api = "0.97.4+1.20.5"

forge = "1.20.4-49.0.30"

neoforge = "21.0.0-beta"
neoforge = "20.5.21-beta"

quilt_loader = "0.25.0"
quilt_standard_libraries = "8.0.0-alpha.12+1.20.4"
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 @@ -69,7 +69,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
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ 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"

Expand Down

0 comments on commit 7259fec

Please sign in to comment.