chore: renamed mixins to always have Mixin at the end

This commit is contained in:
moonleay 2024-04-27 03:44:06 +02:00
parent 8930d64fd0
commit 5bd5e48f0d
Signed by: moonleay
GPG key ID: 82667543CCD715FB
3 changed files with 4 additions and 4 deletions

View file

@ -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<Boolean> cir) {

View file

@ -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<Double> cir) {

View file

@ -5,12 +5,12 @@
"compatibilityLevel": "JAVA_17",
"mixins": [
"ForcePlaceMixin",
"NoBlockUpdates",
"NoBlockUpdatesMixin",
"NoClipMixin"
],
"client": [
"HudMixin",
"NoClipCameraFix",
"NoClipCameraFixMixin",
"NormalModeMixin",
"ReplaceModeMixin"
],