Skip to content

Commit

Permalink
build: updates to fabric.mod.json and pack.mcmeta
Browse files Browse the repository at this point in the history
  • Loading branch information
desht committed Jun 13, 2023
1 parent 3c403a3 commit 014ab26
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 deletions.
6 changes: 5 additions & 1 deletion fabric/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,11 @@ processResources {
inputs.property "version", project.version

filesMatching("fabric.mod.json") {
expand "version": project.version
expand "version": project.version,
"archversion": project.architectury_version,
"fabricapiversion": project.fabric_api_version,
"mcversion": project.minecraft_version,
"ftblibraryversion": project.ftb_library_version
}
}

Expand Down
8 changes: 4 additions & 4 deletions fabric/src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@
]
},
"depends": {
"fabric": "*",
"minecraft": "~1.19",
"architectury": ">=6.3.49",
"ftblibrary": ">=1902.3.16-build.191"
"fabric": ">=${fabricapiversion}",
"minecraft": "~${mcversion}",
"architectury": ">=${archversion}",
"ftblibrary": ">=${ftblibraryversion}"
},
"mixins": [
"ftbranks-common.mixins.json"
Expand Down
2 changes: 1 addition & 1 deletion forge/src/main/resources/pack.mcmeta
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"pack": {
"description": "FTB Ranks Resources",
"pack_format": 6
"pack_format": 15
}
}

0 comments on commit 014ab26

Please sign in to comment.