diff options
author | Anthony Hilyard <anthony.hilyard@gmail.com> | 2021-12-29 13:11:42 -0800 |
---|---|---|
committer | Anthony Hilyard <anthony.hilyard@gmail.com> | 2021-12-29 13:11:42 -0800 |
commit | be7a696f1ed6a6e9fc902fd4599dbc9ce71c466c (patch) | |
tree | f63b02798049fbe80f99aff2f65a605d777f5798 | |
parent | 59df5edce854fb44c55767b9f8c5c0b456799971 (diff) | |
download | Iceberg-be7a696f1ed6a6e9fc902fd4599dbc9ce71c466c.tar.gz Iceberg-be7a696f1ed6a6e9fc902fd4599dbc9ce71c466c.tar.bz2 Iceberg-be7a696f1ed6a6e9fc902fd4599dbc9ce71c466c.zip |
Fixed a mod load order crash bug.
-rw-r--r-- | build.gradle | 12 | ||||
-rw-r--r-- | gradle.properties | 2 | ||||
-rw-r--r-- | src/main/java/com/anthonyhilyard/iceberg/mixin/EntityMixin.java | 4 |
3 files changed, 8 insertions, 10 deletions
diff --git a/build.gradle b/build.gradle index 32990d9..3d2b6d9 100644 --- a/build.gradle +++ b/build.gradle @@ -1,7 +1,7 @@ buildscript { repositories { - maven { url = 'https://files.minecraftforge.net/maven' } - maven { url = "https://repo.spongepowered.org/maven" } + maven { url = 'https://maven.minecraftforge.net' } + maven { url = 'https://repo.spongepowered.org/maven' } jcenter() mavenCentral() } @@ -34,9 +34,9 @@ minecraft { workingDirectory project.file('run').canonicalPath source sourceSets.main - arg "-mixin.debug=true" - arg "-mixin.checks.interfaces=true" - arg "-mixin.config=${project.name}.mixins.json".toLowerCase() + property 'mixin.debug', 'true' + property 'mixin.checks.interfaces', 'true' + property 'mixin.config', "${project.name}.mixins.json".toLowerCase() } } } @@ -51,7 +51,7 @@ sourceSets { dependencies { minecraft "net.minecraftforge:forge:${project.mcVersion}-${project.forgeVersion}" - annotationProcessor 'org.spongepowered:mixin:0.8.4:processor' + annotationProcessor 'org.spongepowered:mixin:0.8.5:processor' } jar { diff --git a/gradle.properties b/gradle.properties index 11cb639..f213ef1 100644 --- a/gradle.properties +++ b/gradle.properties @@ -6,6 +6,6 @@ org.gradle.daemon=false name=${rootProject.name} group=com.anthonyhilyard.${name.toLowerCase()} author=anthonyhilyard -version=1.0.30 +version=1.0.31 mcVersion=1.18.1 forgeVersion=39.0.0 diff --git a/src/main/java/com/anthonyhilyard/iceberg/mixin/EntityMixin.java b/src/main/java/com/anthonyhilyard/iceberg/mixin/EntityMixin.java index ba3a69e..8c03e8b 100644 --- a/src/main/java/com/anthonyhilyard/iceberg/mixin/EntityMixin.java +++ b/src/main/java/com/anthonyhilyard/iceberg/mixin/EntityMixin.java @@ -17,15 +17,13 @@ import net.minecraft.tags.Tag; import net.minecraftforge.common.MinecraftForge; @Mixin(Entity.class) -public class EntityMixin extends net.minecraftforge.common.capabilities.CapabilityProvider<Entity> +public class EntityMixin { private Fluid previousFluidOnEyes = null; @Shadow protected Tag<Fluid> fluidOnEyes; - protected EntityMixin(Class<Entity> baseClass) { super(baseClass); } - @Inject(method = "updateFluidOnEyes", at = @At(value = "RETURN")) public void onUpdateFluidOnEyes(CallbackInfo callbackInfo) { |