调整1130的最小fire time
This commit is contained in:
parent
e40f77a509
commit
d9f20779ca
1 changed files with 1 additions and 1 deletions
|
@ -460,7 +460,7 @@ public class Hpj11Entity extends ContainerMobileVehicleEntity implements GeoEnti
|
||||||
|
|
||||||
boolean hasCreativeAmmo = (getFirstPassenger() instanceof Player pPlayer && InventoryTool.hasCreativeAmmoBox(pPlayer)) || hasItem(ModItems.CREATIVE_AMMO_BOX.get());
|
boolean hasCreativeAmmo = (getFirstPassenger() instanceof Player pPlayer && InventoryTool.hasCreativeAmmoBox(pPlayer)) || hasItem(ModItems.CREATIVE_AMMO_BOX.get());
|
||||||
|
|
||||||
entityData.set(FIRE_TIME, Math.min(entityData.get(FIRE_TIME) + 3, 3));
|
entityData.set(FIRE_TIME, Math.min(entityData.get(FIRE_TIME) + 3, 5));
|
||||||
|
|
||||||
var entityToSpawn = ((SmallCannonShellWeapon) getWeapon(0)).create(player);
|
var entityToSpawn = ((SmallCannonShellWeapon) getWeapon(0)).create(player);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue