diff --git a/build.gradle b/build.gradle index 1702d1f..4cb254c 100644 --- a/build.gradle +++ b/build.gradle @@ -41,6 +41,8 @@ processResources { filesMatching("fabric.mod.json") { expand "version": project.version + + filter { line -> line.replace("@mc_version@", project.minecraft_version) } } } diff --git a/src/main/resources/fabric.mod.json b/src/main/resources/fabric.mod.json index 84db742..d0c3e21 100644 --- a/src/main/resources/fabric.mod.json +++ b/src/main/resources/fabric.mod.json @@ -3,7 +3,7 @@ "id": "meteor-rejects", "version": "${version}", - "name": "Meteor Rejects Addon", + "name": "Meteor Rejects", "description": "An addon to Meteor Client that adds modules and commands that were too useless to be added to Meteor directly.", "authors": [ "Cloudburst", @@ -27,10 +27,12 @@ "meteor-rejects.mixins.json", "meteor-rejects-meteor.mixins.json" ], - + "custom": { + "meteor-client:color": "227,0,0" + }, "depends": { "java": "16", - "minecraft": ">=1.17", + "minecraft": ">=@mc_version@", "meteor-client": ">0.4.3" } }