Class Heightmap

java.lang.Object
net.minestom.server.instance.heightmap.Heightmap
Direct Known Subclasses:
MotionBlockingHeightmap, WorldSurfaceHeightmap

public abstract class Heightmap extends Object
  • Constructor Details

    • Heightmap

      public Heightmap(Chunk chunk)
  • Method Details

    • checkBlock

      protected abstract boolean checkBlock(@NotNull @NotNull Block block)
    • NBTName

      public abstract String NBTName()
    • refresh

      public void refresh(int x, int y, int z, Block block)
    • refresh

      public void refresh(int startY)
    • refresh

      public void refresh(int x, int z, int startY)
    • getNBT

      public org.jglrxavpok.hephaistos.nbt.NBTLongArray getNBT()
    • loadFrom

      public void loadFrom(org.jglrxavpok.hephaistos.collections.ImmutableLongArray data)
    • getHeight

      public int getHeight(int x, int z)
    • getHighestBlockSection

      public static int getHighestBlockSection(Chunk chunk)