diff --git a/gradle.properties b/gradle.properties index ffe50ba..435f168 100644 --- a/gradle.properties +++ b/gradle.properties @@ -5,7 +5,7 @@ mod_name=BarrierVisibility # Sets the id of your mod that mod loaders use to recognize it. mod_id=barriervisibility # Sets the version of your mod. Make sure to update this when you make changes according to semver. -mod_version=1.1.1 +mod_version=1.1.2 # Sets the name of the jar file that you put in your 'mods' folder. mod_archives_name=BarrierVisibility diff --git a/root.gradle.kts b/root.gradle.kts index b547d54..f7289ec 100644 --- a/root.gradle.kts +++ b/root.gradle.kts @@ -5,7 +5,5 @@ plugins { } preprocess { - "1.12.2-forge"(11202, "srg") { - "1.8.9-forge"(10809, "srg") - } + "1.8.9-forge"(10809, "srg") } \ No newline at end of file diff --git a/src/main/java/me/redth/barriervisibility/mixin/MixinBlockBarrier.java b/src/main/java/me/redth/barriervisibility/mixin/MixinBlockBarrier.java index 7be8352..440e0a1 100644 --- a/src/main/java/me/redth/barriervisibility/mixin/MixinBlockBarrier.java +++ b/src/main/java/me/redth/barriervisibility/mixin/MixinBlockBarrier.java @@ -16,7 +16,7 @@ import org.spongepowered.asm.mixin.injection.callback.CallbackInfoReturnable; @Mixin(BlockBarrier.class) -public class MixinBlockBarrier extends Block { +public abstract class MixinBlockBarrier extends Block { public MixinBlockBarrier(Material blockMaterialIn) { super(blockMaterialIn); } diff --git a/src/main/java/me/redth/barriervisibility/mixin/MixinBlockStateMapper.java b/src/main/java/me/redth/barriervisibility/mixin/MixinBlockStateMapper.java index 5a6e83d..861e2e9 100644 --- a/src/main/java/me/redth/barriervisibility/mixin/MixinBlockStateMapper.java +++ b/src/main/java/me/redth/barriervisibility/mixin/MixinBlockStateMapper.java @@ -9,7 +9,7 @@ import java.util.Set; @Mixin(BlockStateMapper.class) -public class MixinBlockStateMapper { +public abstract class MixinBlockStateMapper { @Redirect(method = "putAllStateModelLocations", at = @At(value = "INVOKE", target = "Ljava/util/Set;contains(Ljava/lang/Object;)Z")) public boolean getRenderType(Set instance, Object o) { return o != Blocks.barrier && instance.contains(o); diff --git a/src/main/java/me/redth/barriervisibility/mixin/MixinWorldClient.java b/src/main/java/me/redth/barriervisibility/mixin/MixinWorldClient.java index 9545850..9725e59 100644 --- a/src/main/java/me/redth/barriervisibility/mixin/MixinWorldClient.java +++ b/src/main/java/me/redth/barriervisibility/mixin/MixinWorldClient.java @@ -9,7 +9,7 @@ import org.spongepowered.asm.mixin.injection.callback.CallbackInfo; @Mixin(WorldClient.class) -public class MixinWorldClient { +public abstract class MixinWorldClient { @Inject(method = "doVoidFogParticles", at = @At("HEAD"), cancellable = true) public void getRenderType(CallbackInfo ci) { if (BarrierVisibility.config.enabled && ModConfig.hideBarrierParticles)