From 6e67904f513f88d1988cdcdc481d682c6157ef72 Mon Sep 17 00:00:00 2001 From: C10udburst <18114966+C10udburst@users.noreply.github.com> Date: Tue, 31 Aug 2021 19:12:48 +0200 Subject: [PATCH] fabric mod swag --- build.gradle | 2 ++ src/main/resources/fabric.mod.json | 8 +++++--- 2 files changed, 7 insertions(+), 3 deletions(-) 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" } }