mirror of
https://codeberg.org/moonleay/Gimbal.git
synced 2024-11-26 22:42:09 +00:00
chore: renamed mixins to always have Mixin at the end
parent
8930d64fd0
commit
5bd5e48f0d
3 changed files with 4 additions and 4 deletions
|
@ -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) {
|
|
@ -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) {
|
|
@ -5,12 +5,12 @@
|
|||
"compatibilityLevel": "JAVA_17",
|
||||
"mixins": [
|
||||
"ForcePlaceMixin",
|
||||
"NoBlockUpdates",
|
||||
"NoBlockUpdatesMixin",
|
||||
"NoClipMixin"
|
||||
],
|
||||
"client": [
|
||||
"HudMixin",
|
||||
"NoClipCameraFix",
|
||||
"NoClipCameraFixMixin",
|
||||
"NormalModeMixin",
|
||||
"ReplaceModeMixin"
|
||||
],
|
||||
|
|
Loading…
Reference in a new issue