From 167cb917d00b1d7c25778d1cc151295c1e20d1c2 Mon Sep 17 00:00:00 2001 From: Atsuihsio <842960157@qq.com> Date: Thu, 12 Dec 2024 16:17:49 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=BB=E9=99=A4TODO?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../atsuishio/superbwarfare/entity/SpeedboatEntity.java | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/main/java/com/atsuishio/superbwarfare/entity/SpeedboatEntity.java b/src/main/java/com/atsuishio/superbwarfare/entity/SpeedboatEntity.java index b7621b28b..175fe870e 100644 --- a/src/main/java/com/atsuishio/superbwarfare/entity/SpeedboatEntity.java +++ b/src/main/java/com/atsuishio/superbwarfare/entity/SpeedboatEntity.java @@ -113,8 +113,6 @@ public class SpeedboatEntity extends Entity implements GeoEntity, IChargeEntity, } } - //TODO 创飞碰到的碰撞箱小于该船的实体,且本体速度不会减少太多 - public static boolean canVehicleCollide(Entity pVehicle, Entity pEntity) { return (pEntity.canBeCollidedWith() || pEntity.isPushable()) && !pVehicle.isPassengerOfSameVehicle(pEntity); } @@ -213,13 +211,6 @@ public class SpeedboatEntity extends Entity implements GeoEntity, IChargeEntity, @Override public void baseTick() { super.baseTick(); - -// if (this.getFirstPassenger() instanceof Player player) { -// player.displayClientMessage(Component.literal("Angle" + new java.text.DecimalFormat("##.##").format(Mth.abs(90 - (float)calculateAngle(this.getDeltaMovement(), this.getViewVector(1))) / 90)), true); -// } - - - double fluidFloat = -0.04; this.move(MoverType.SELF, this.getDeltaMovement());