第三人称禁用更真实的飞控

This commit is contained in:
Atsuihsio 2025-01-25 01:22:22 +08:00
parent 91067cc152
commit c314535962

View file

@ -95,6 +95,7 @@ public class MouseHandlerMixin {
Player player = mc.player;
if (player == null) return d;
if (mc.options.getCameraType() != CameraType.FIRST_PERSON) return d;
if (player.getVehicle() instanceof VehicleEntity vehicle) {
x = d;
@ -122,6 +123,7 @@ public class MouseHandlerMixin {
Player player = mc.player;
if (player == null) return d;
if (mc.options.getCameraType() != CameraType.FIRST_PERSON) return d;
if (player.getVehicle() instanceof VehicleEntity vehicle) {
y = d;