Class Heightmap
java.lang.Object
net.minestom.server.instance.heightmap.Heightmap
- Direct Known Subclasses:
MotionBlockingHeightmap
,WorldSurfaceHeightmap
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected abstract boolean
checkBlock
(@NotNull Block block) int
getHeight
(int x, int z) static int
getHighestBlockSection
(Chunk chunk) org.jglrxavpok.hephaistos.nbt.NBTLongArray
getNBT()
void
loadFrom
(org.jglrxavpok.hephaistos.collections.ImmutableLongArray data) abstract String
NBTName()
void
refresh
(int startY) void
refresh
(int x, int z, int startY) void
-
Constructor Details
-
Heightmap
-
-
Method Details
-
checkBlock
-
NBTName
-
refresh
-
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
-