修复快艇弹药读取问题
This commit is contained in:
parent
94a1ebc9f1
commit
956aa1beaf
2 changed files with 5 additions and 1 deletions
|
@ -11,7 +11,7 @@ mod_id=superbwarfare
|
||||||
mod_name=Superb Warfare
|
mod_name=Superb Warfare
|
||||||
mod_license=GNU General Public License v3.0
|
mod_license=GNU General Public License v3.0
|
||||||
mod_description=A Warfare Mod
|
mod_description=A Warfare Mod
|
||||||
mod_version=0.6.2
|
mod_version=0.6.3
|
||||||
mod_authors=Atsuishio, Roki27, Light_Quanta
|
mod_authors=Atsuishio, Roki27, Light_Quanta
|
||||||
|
|
||||||
# dependencies
|
# dependencies
|
||||||
|
|
|
@ -148,6 +148,10 @@ public class SpeedboatEntity extends ContainerMobileVehicleEntity implements Geo
|
||||||
sendParticle(serverLevel, ParticleTypes.BUBBLE_COLUMN_UP, this.getX() - 4.5 * this.getLookAngle().x, this.getY() - 0.25, this.getZ() - 4.5 * this.getLookAngle().z, (int) (40 * Mth.abs(this.entityData.get(POWER))), 0.15, 0.15, 0.15, 0.02, true);
|
sendParticle(serverLevel, ParticleTypes.BUBBLE_COLUMN_UP, this.getX() - 4.5 * this.getLookAngle().x, this.getY() - 0.25, this.getZ() - 4.5 * this.getLookAngle().z, (int) (40 * Mth.abs(this.entityData.get(POWER))), 0.15, 0.15, 0.15, 0.02, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (this.level() instanceof ServerLevel) {
|
||||||
|
this.handleAmmo();
|
||||||
|
}
|
||||||
|
|
||||||
turretAngle(40, 40);
|
turretAngle(40, 40);
|
||||||
lowHealthWarning();
|
lowHealthWarning();
|
||||||
collideBlock();
|
collideBlock();
|
||||||
|
|
Loading…
Add table
Reference in a new issue