diff --git a/src/main/java/net/moonleay/gimble/mixin/NoBlockUpdates.java b/src/main/java/net/moonleay/gimble/mixin/NoBlockUpdatesMixin.java similarity index 97% rename from src/main/java/net/moonleay/gimble/mixin/NoBlockUpdates.java rename to src/main/java/net/moonleay/gimble/mixin/NoBlockUpdatesMixin.java index 6b42211..dab0588 100644 --- a/src/main/java/net/moonleay/gimble/mixin/NoBlockUpdates.java +++ b/src/main/java/net/moonleay/gimble/mixin/NoBlockUpdatesMixin.java @@ -13,7 +13,7 @@ import org.spongepowered.asm.mixin.injection.Inject; import org.spongepowered.asm.mixin.injection.callback.CallbackInfoReturnable; @Mixin(BlockItem.class) -public class NoBlockUpdates { +public class NoBlockUpdatesMixin { @Inject(method = "place(Lnet/minecraft/item/ItemPlacementContext;Lnet/minecraft/block/BlockState;)Z", at = @At("HEAD"), cancellable = true) private void func(ItemPlacementContext context, BlockState state, CallbackInfoReturnable cir) { diff --git a/src/main/java/net/moonleay/gimble/mixin/NoClipCameraFix.java b/src/main/java/net/moonleay/gimble/mixin/NoClipCameraFixMixin.java similarity index 95% rename from src/main/java/net/moonleay/gimble/mixin/NoClipCameraFix.java rename to src/main/java/net/moonleay/gimble/mixin/NoClipCameraFixMixin.java index 080acfb..3c06734 100644 --- a/src/main/java/net/moonleay/gimble/mixin/NoClipCameraFix.java +++ b/src/main/java/net/moonleay/gimble/mixin/NoClipCameraFixMixin.java @@ -9,7 +9,7 @@ import org.spongepowered.asm.mixin.injection.Inject; import org.spongepowered.asm.mixin.injection.callback.CallbackInfoReturnable; @Mixin(Camera.class) -public class NoClipCameraFix { +public class NoClipCameraFixMixin { @Inject(method = "clipToSpace", at = @At("HEAD"), cancellable = true) private void fixCameraInNoClip(double desiredCameraDistance, CallbackInfoReturnable cir) { diff --git a/src/main/resources/gimble.mixins.json b/src/main/resources/gimble.mixins.json index 70be15d..e01db58 100644 --- a/src/main/resources/gimble.mixins.json +++ b/src/main/resources/gimble.mixins.json @@ -5,12 +5,12 @@ "compatibilityLevel": "JAVA_17", "mixins": [ "ForcePlaceMixin", - "NoBlockUpdates", + "NoBlockUpdatesMixin", "NoClipMixin" ], "client": [ "HudMixin", - "NoClipCameraFix", + "NoClipCameraFixMixin", "NormalModeMixin", "ReplaceModeMixin" ],