From 94858f214adcab66e6a4649535e7a80890db4678 Mon Sep 17 00:00:00 2001 From: Atsuishio <842960157@qq.com> Date: Sun, 4 May 2025 21:57:21 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B1=A4=E5=A7=86=E5=87=8F=E9=80=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../atsuishio/superbwarfare/entity/vehicle/Tom6Entity.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/atsuishio/superbwarfare/entity/vehicle/Tom6Entity.java b/src/main/java/com/atsuishio/superbwarfare/entity/vehicle/Tom6Entity.java index 5ee4f6008..dfdf28061 100644 --- a/src/main/java/com/atsuishio/superbwarfare/entity/vehicle/Tom6Entity.java +++ b/src/main/java/com/atsuishio/superbwarfare/entity/vehicle/Tom6Entity.java @@ -161,7 +161,7 @@ public class Tom6Entity extends MobileVehicleEntity implements GeoEntity { if (forwardInputDown && getEnergy() > 0) { this.consumeEnergy(VehicleConfig.TOM_6_ENERGY_COST.get()); - this.entityData.set(POWER, Math.min(this.entityData.get(POWER) + 0.01f, 0.15f)); + this.entityData.set(POWER, Math.min(this.entityData.get(POWER) + 0.01f, 0.07f)); } if (backInputDown || downInputDown) { @@ -183,7 +183,7 @@ public class Tom6Entity extends MobileVehicleEntity implements GeoEntity { float addY = Mth.clamp(Math.min((this.onGround() ? 1.5f : 0.9f) * (float) Math.max(getDeltaMovement().length() - 0.06, 0.1), 0.9f) * diffY - 0.5f * this.entityData.get(DELTA_ROT), -3 * (roll + 1), 3 * (roll + 1)); float addX = Mth.clamp(Math.min((float) Math.max(getDeltaMovement().length() - 0.1, 0.01), 0.9f) * diffX, -4, 4); - float addZ = this.entityData.get(DELTA_ROT) + (this.onGround() ? 0 : 0.01f) * diffY * (float) getDeltaMovement().length(); + float addZ = this.entityData.get(DELTA_ROT) - (this.onGround() ? 0 : 0.01f) * diffY * (float) getDeltaMovement().length(); float i = getXRot() / 90;