diff --git a/src/main/java/net/mcreator/superbwarfare/mixins/MouseHandlerMixin.java b/src/main/java/net/mcreator/superbwarfare/mixins/MouseHandlerMixin.java index 547f84d52..736f41c24 100644 --- a/src/main/java/net/mcreator/superbwarfare/mixins/MouseHandlerMixin.java +++ b/src/main/java/net/mcreator/superbwarfare/mixins/MouseHandlerMixin.java @@ -38,13 +38,20 @@ public class MouseHandlerMixin { ItemStack stack = mc.player.getMainHandItem(); - if (player.getVehicle() != null && (player.getVehicle() instanceof Mk42Entity || player.getVehicle() instanceof Mle1934Entity)) { + if (player.getVehicle() != null && player.getVehicle() instanceof Mk42Entity) { if ((player.getCapability(ModVariables.PLAYER_VARIABLES_CAPABILITY, null).orElse(new ModVariables.PlayerVariables())).zoom) { return 0.12; } else { return 0.23; } } + if (player.getVehicle() != null && player.getVehicle() instanceof Mle1934Entity) { + if ((player.getCapability(ModVariables.PLAYER_VARIABLES_CAPABILITY, null).orElse(new ModVariables.PlayerVariables())).zoom) { + return 0.09; + } else { + return 0.19; + } + } if (!stack.is(ModTags.Items.GUN)) { return original; diff --git a/src/main/resources/assets/superbwarfare/animations/mle1934.animation.json b/src/main/resources/assets/superbwarfare/animations/mle1934.animation.json index 788309c2d..e3a6d5b87 100644 --- a/src/main/resources/assets/superbwarfare/animations/mle1934.animation.json +++ b/src/main/resources/assets/superbwarfare/animations/mle1934.animation.json @@ -2,7 +2,19 @@ "format_version": "1.8.0", "animations": { "animation.mle1934.idle": { - "loop": true + "loop": true, + "bones": { + "flare": { + "scale": { + "vector": [0, 0, 0] + } + }, + "flare2": { + "scale": { + "vector": [0, 0, 0] + } + } + } }, "animation.mle1934.fire": { "loop": "hold_on_last_frame",