Package com.hbm_m.explosion
Class ExplosionTom
java.lang.Object
com.hbm_m.explosion.ExplosionTom
Gerald/Horizons' authentic crater shape (port of legacy
com.hbm.explosion.ExplosionTom):
unlike the plain sphere-clearing ExplosionFleija, this carves a proper crater bowl
with a raised "peak ring" rim made of tektite (the black glassy ring the meteor is
known for) and floods everything below the original terrain height with lava.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionExplosionTom(int x, int y, int z, net.minecraft.world.level.Level level, int rad) -
Method Summary
Modifier and TypeMethodDescriptionvoidreadFromNbt(net.minecraft.nbt.CompoundTag tag, String name) voidbooleanupdate()
-
Field Details
-
posX
public int posX -
posY
public int posY -
posZ
public int posZ -
lastposX
public int lastposX -
lastposZ
public int lastposZ -
radius
public int radius -
radius2
public int radius2 -
level
public net.minecraft.world.level.Level level
-
-
Constructor Details
-
ExplosionTom
public ExplosionTom(int x, int y, int z, net.minecraft.world.level.Level level, int rad)
-
-
Method Details
-
saveToNbt
-
readFromNbt
-
update
public boolean update()- Returns:
- true when the explosion has finished.
-