Skip to Content
⚠ Under Construction
ReferenceC++ APIChunk

endstone::Chunk

Represents a chunk of blocks.

Functions:

NameDescription
getDimensionGets the dimension containing this chunk.
getLevelGets the level containing this chunk.
getXGets the X-coordinate of this chunk.
getZGets the Z-coordinate of this chunk.

getDimension

Dimension &getDimension() const

Gets the dimension containing this chunk.

Returns:

Parent Dimension

getLevel

Level &getLevel() const

Gets the level containing this chunk.

Returns:

Parent Level

getX

int getX() const

Gets the X-coordinate of this chunk.

Returns:

X-coordinate

getZ

int getZ() const

Gets the Z-coordinate of this chunk.

Returns:

Z-coordinate

Last updated on