mirror of
https://codeberg.org/moonleay/Gimble.git
synced 2024-11-21 22:32:50 +00:00
chore: renamed mixins to always have Mixin at the end
This commit is contained in:
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