Skip to content

Commit

Permalink
Add 1.21 support for all the retrogrades out there *sigh*...
Browse files Browse the repository at this point in the history
  • Loading branch information
MerchantPug committed Dec 6, 2024
1 parent 8aee407 commit 3c785b3
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ allprojects {
Map<String, ?> properties = [
version: version,
loader_version: loader_version,
fabric_api_version: fabric_api_version,
fabric_api_dependency: fabric_api_dependency,
minecraft_dependency: minecraft_dependency,
java_version: sourceCompatibility,

Expand Down
3 changes: 2 additions & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,10 @@ mod_version = 3.1.0

# https://fabricmc.net/develop
minecraft_version = 1.21.1
minecraft_dependency = >=1.21.1 <=1.21.2
minecraft_dependency = >=1.21 <=1.21.1
loader_version = 0.16.7
fabric_api_version = 0.105.0+1.21.1
fabric_api_dependency = >=0.100.7

# Mixin Extra's
# https://github.com/LlamaLad7/MixinExtras
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"environment": "*",
"depends": {
"fabricloader": ">=${loader_version}",
"fabric-api": ">=${fabric_api_version}",
"fabric-api": "${fabric_api_dependency}",
"minecraft": "${minecraft_dependency}",
"java": ">=${java_version}"
},
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/template.fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"environment": "*",
"depends": {
"fabricloader": ">=${loader_version}",
"fabric-api": ">=${fabric_api_version}",
"fabric-api": "${fabric_api_dependency}",
"minecraft": "${minecraft_dependency}",
"java": ">=${java_version}"
},
Expand Down

0 comments on commit 3c785b3

Please sign in to comment.