diff options
author | nea <nea@nea.moe> | 2023-06-14 23:16:15 +0200 |
---|---|---|
committer | nea <nea@nea.moe> | 2023-06-14 23:16:15 +0200 |
commit | bff554f9e6d399e205f3299713eed7d9bfe38a17 (patch) | |
tree | 19f3b5b161261c8f96832b4cdc617eaf2f2da64d | |
parent | 075a29a609a4133f7dc758170cb2f2a3d5ea854c (diff) | |
download | DulkirMod-bff554f9e6d399e205f3299713eed7d9bfe38a17.tar.gz DulkirMod-bff554f9e6d399e205f3299713eed7d9bfe38a17.tar.bz2 DulkirMod-bff554f9e6d399e205f3299713eed7d9bfe38a17.zip |
Remove essentials and bump down minimum mixin version
-rw-r--r-- | build.gradle.kts | 6 | ||||
-rw-r--r-- | src/main/java/dulkirmod/mixins/MixinItem.java | 2 | ||||
-rw-r--r-- | src/main/resources/mixins.dulkirmod.json | 2 |
3 files changed, 4 insertions, 6 deletions
diff --git a/build.gradle.kts b/build.gradle.kts index 17e5cc7..803d132 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -29,7 +29,6 @@ loom { property("asmhelper.verbose", "true") arg("--tweakClass", "cc.polyfrost.oneconfig.loader.stage0.LaunchWrapperTweaker") arg("--mixin", "mixins.dulkirmod.json") - arg("--tweakClass", "gg.essential.loader.stage0.EssentialSetupTweaker") } } forge { @@ -72,13 +71,12 @@ dependencies { minecraft("com.mojang:minecraft:1.8.9") mappings("de.oceanlabs.mcp:mcp_stable:22-1.8.9") forge("net.minecraftforge:forge:1.8.9-11.15.1.2318-1.8.9") - shadowImpl("gg.essential:loader-launchwrapper:1.1.3") // If you don't want mixins, remove these lines - compileOnly("org.spongepowered:mixin:0.8.5-SNAPSHOT") { + compileOnly("org.spongepowered:mixin:0.7.11-SNAPSHOT") { isTransitive = false } - annotationProcessor("org.spongepowered:mixin:0.8.5-SNAPSHOT:processor") + annotationProcessor("net.fabricmc:sponge-mixin:0.11.4+mixin.0.8.5") // If you don't want to log in with your real minecraft account, remove this line runtimeOnly("me.djtheredstoner:DevAuth-forge-legacy:1.1.0") diff --git a/src/main/java/dulkirmod/mixins/MixinItem.java b/src/main/java/dulkirmod/mixins/MixinItem.java index 62ae99d..8f14151 100644 --- a/src/main/java/dulkirmod/mixins/MixinItem.java +++ b/src/main/java/dulkirmod/mixins/MixinItem.java @@ -11,7 +11,7 @@ import org.spongepowered.asm.mixin.injection.At; import org.spongepowered.asm.mixin.injection.Inject; import org.spongepowered.asm.mixin.injection.callback.CallbackInfoReturnable; -@Mixin(value = {Item.class}) +@Mixin(Item.class) public class MixinItem { @Inject(method = "shouldCauseReequipAnimation", at = @At("HEAD"), cancellable = true, remap = false) diff --git a/src/main/resources/mixins.dulkirmod.json b/src/main/resources/mixins.dulkirmod.json index a30c6d8..b083e17 100644 --- a/src/main/resources/mixins.dulkirmod.json +++ b/src/main/resources/mixins.dulkirmod.json @@ -1,6 +1,6 @@ { "compatibilityLevel": "JAVA_8", - "minVersion": "0.8", + "minVersion": "0.6", "package": "dulkirmod.mixins", "refmap": "mixins.dulkirmod.refmap.json", "client": [ |