修复HeliRocket运动问题

This commit is contained in:
Atsuishio 2025-05-02 16:30:09 +08:00 committed by Light_Quanta
parent 1161f8426f
commit fc8832ae8d
No known key found for this signature in database
GPG key ID: 11A39A1B8C890959

View file

@ -114,8 +114,6 @@ public class HeliRocketEntity extends FastThrowableProjectile implements GeoEnti
} }
} }
if (this.tickCount > 2) { if (this.tickCount > 2) {
this.setDeltaMovement(this.getDeltaMovement().multiply(1.025, 1.025, 1.025));
if (!this.level().isClientSide() && this.level() instanceof ServerLevel serverLevel) { if (!this.level().isClientSide() && this.level() instanceof ServerLevel serverLevel) {
ParticleTool.sendParticle(serverLevel, ParticleTypes.SMOKE, this.xo, this.yo, this.zo, 1, 0, 0, 0, 0, true); ParticleTool.sendParticle(serverLevel, ParticleTypes.SMOKE, this.xo, this.yo, this.zo, 1, 0, 0, 0, 0, true);
} }