Class endstone::Chunk¶
Represents a chunk of blocks.
#include <endstone/level/chunk.h>
Public Functions¶
Type | Name |
---|---|
virtual Dimension & | getDimension () const = 0 Gets the dimension containing this chunk. |
virtual Level & | getLevel () const = 0 Gets the level containing this chunk. |
virtual int | getX () const = 0 Gets the X-coordinate of this chunk. |
virtual int | getZ () const = 0 Gets the Z-coordinate of this chunk. |
virtual | ~Chunk () = default |
Public Functions Documentation¶
function getDimension¶
Gets the dimension containing this chunk.
Returns:
Parent Dimension
function getLevel¶
Gets the level containing this chunk.
Returns:
Parent Level
function getX¶
Gets the X-coordinate of this chunk.
Returns:
X-coordinate
function getZ¶
Gets the Z-coordinate of this chunk.
Returns:
Z-coordinate
function ~Chunk¶
The documentation for this class was generated from the following file include/endstone/level/chunk.h