From 93b1f9630a3efb21939541bbd0534dc0f115b9c7 Mon Sep 17 00:00:00 2001 From: Atsuihsio <842960157@qq.com> Date: Sun, 15 Dec 2024 19:54:29 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BE=AE=E8=B0=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gradle.properties | 2 +- .../superbwarfare/entity/SpeedboatEntity.java | 2 +- .../textures/entity/speedboat_power.png | Bin 4388 -> 4410 bytes 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gradle.properties b/gradle.properties index d2afbddef..1d2caaed6 100644 --- a/gradle.properties +++ b/gradle.properties @@ -13,5 +13,5 @@ mod_description=A Warfare Mod minecraft_version=1.20.1 jei_version=15.2.0.27 cloth_config_version=11.1.106 -mod_version=0.3.2 +mod_version=0.3.3 mod_authors=Atsuishio, Roki27, Light_Quanta \ No newline at end of file diff --git a/src/main/java/com/atsuishio/superbwarfare/entity/SpeedboatEntity.java b/src/main/java/com/atsuishio/superbwarfare/entity/SpeedboatEntity.java index 545f12db4..3bf4fc352 100644 --- a/src/main/java/com/atsuishio/superbwarfare/entity/SpeedboatEntity.java +++ b/src/main/java/com/atsuishio/superbwarfare/entity/SpeedboatEntity.java @@ -307,7 +307,7 @@ public class SpeedboatEntity extends Entity implements GeoEntity, IChargeEntity, if (this.onGround()) { this.setDeltaMovement(this.getDeltaMovement().multiply(0.2, 0.85, 0.2)); } else { - float f = 0.73f + 0.09f * Mth.abs(90 - (float) calculateAngle(this.getDeltaMovement(), this.getViewVector(1))) / 90; + float f = 0.74f + 0.09f * Mth.abs(90 - (float) calculateAngle(this.getDeltaMovement(), this.getViewVector(1))) / 90; this.setDeltaMovement(this.getDeltaMovement().add(this.getViewVector(1).normalize().scale(0.04 * this.getDeltaMovement().length()))); this.setDeltaMovement(this.getDeltaMovement().multiply(f, 0.85, f)); } diff --git a/src/main/resources/assets/superbwarfare/textures/entity/speedboat_power.png b/src/main/resources/assets/superbwarfare/textures/entity/speedboat_power.png index d7d2adf6b646e71e469ce029a9c4346432007547..8747624ded3feed86b13ca758d64848a507518c4 100644 GIT binary patch delta 446 zcmZ3Yv`cA%q0JXh7srr_IdAV8<{dI%U=2`z)oYZ#{((@Uo6g*7-n1f)2TU`SHx|t* zS?M)FAXo7q%l_?=pFS);aymSxee*?@wTvn)0#0Jq3gM zf@8};WCM%F#6lH+4={n0=Id_Inq*X5EZE&(hUYH-BVV!>FvVbV^YPLqgE;h3B5%`C2Bzz!2fu z$;SW$IsS|wiZ@_lp-SL|DKfGQb)WwH3atP9_wwPr^^yz>54wb88Kzmt_Ps2za61lE zdV`l0q{HNao)v@6$4@`z1$n(J>hoh_VA#N)2a<7MzQd3(UGMq!7aS7{qm(|Vy0bH= zmCC%TITxGn&dAUZI^_jO*@16BXD~2aU|k<1B4dN6Y`fL`;_J5q85j~oRjokM z8*CxAIWSHvJfw6W)Y6KZWu^4?~b3fJI!AMSs(uIgoXl0+<{pH7-~j56C1e2xoeo56qV=c SXRMqFlJa!*b6Mw<&;$TG