Class ExplosionTom

java.lang.Object
com.hbm_m.explosion.ExplosionTom

public class ExplosionTom extends Object
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 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

      public void saveToNbt(net.minecraft.nbt.CompoundTag tag, String name)
    • readFromNbt

      public void readFromNbt(net.minecraft.nbt.CompoundTag tag, String name)
    • update

      public boolean update()
      Returns:
      true when the explosion has finished.