diff --git a/build.gradle b/build.gradle index 9cedd51..0e17c0a 100644 --- a/build.gradle +++ b/build.gradle @@ -102,7 +102,7 @@ dependencies { } if (project.use_mixins.toBoolean()) { implementation 'com.cleanroommc:configanytime:3.0' - implementation 'zone.rong:mixinbooter:9.1' + implementation 'zone.rong:mixinbooter:10.2' } // Had Enough Items @@ -127,9 +127,12 @@ dependencies { // CraftTweaker implementation 'curse.maven:crafttweaker-239197:5486112' + // GroovyScript + implementation 'curse.maven:groovyscript-687577:5789691' + if (project.use_mixins.toBoolean()) { // Change your mixin refmap name here: - String mixin = modUtils.enableMixins('zone.rong:mixinbooter:9.1', "mixins.${project.mod_id}.refmap.json") + String mixin = modUtils.enableMixins('zone.rong:mixinbooter:10.2', "mixins.${project.mod_id}.refmap.json") api(mixin) { transitive = false } diff --git a/src/main/java/mod/emt/harkenscythe/HarkenScythe.java b/src/main/java/mod/emt/harkenscythe/HarkenScythe.java index fadf2aa..34bc950 100644 --- a/src/main/java/mod/emt/harkenscythe/HarkenScythe.java +++ b/src/main/java/mod/emt/harkenscythe/HarkenScythe.java @@ -22,7 +22,7 @@ public class HarkenScythe { public static final String MOD_ID = Tags.MOD_ID; public static final String MOD_PREFIX = MOD_ID + ":"; - public static final String NAME = "Harken Scythe Resharpened"; + public static final String NAME = "Harken Scythe: Resharpened"; public static final String VERSION = Tags.VERSION; public static final String ACCEPTED_VERSIONS = "[1.12.2]"; public static final String DEPENDENCIES = "after:thaumcraft;after:tconstruct;after:conarm"; diff --git a/src/main/java/mod/emt/harkenscythe/compat/groovyscript/HSGroovyScriptPlugin.java b/src/main/java/mod/emt/harkenscythe/compat/groovyscript/HSGroovyScriptPlugin.java new file mode 100644 index 0000000..ee13d16 --- /dev/null +++ b/src/main/java/mod/emt/harkenscythe/compat/groovyscript/HSGroovyScriptPlugin.java @@ -0,0 +1,28 @@ +package mod.emt.harkenscythe.compat.groovyscript; + +import com.cleanroommc.groovyscript.GroovyScript; +import com.cleanroommc.groovyscript.api.GroovyPlugin; +import com.cleanroommc.groovyscript.compat.mods.GroovyContainer; +import groovyjarjarantlr4.v4.runtime.misc.NotNull; +import mod.emt.harkenscythe.HarkenScythe; + +public class HSGroovyScriptPlugin implements GroovyPlugin +{ + @Override + public @NotNull String getModId() + { + return HarkenScythe.MOD_ID; + } + + @Override + public @NotNull String getContainerName() + { + return HarkenScythe.NAME; + } + + @Override + public void onCompatLoaded(GroovyContainer container) + { + GroovyScript.LOGGER.info(HarkenScythe.NAME + " container loaded"); + } +}