Skip to content

Class endstone::Chunk

ClassList > 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.

virtual Dimension & endstone::Chunk::getDimension () const = 0

Returns:

Parent Dimension


function getLevel

Gets the level containing this chunk.

virtual Level & endstone::Chunk::getLevel () const = 0

Returns:

Parent Level


function getX

Gets the X-coordinate of this chunk.

virtual int endstone::Chunk::getX () const = 0

Returns:

X-coordinate


function getZ

Gets the Z-coordinate of this chunk.

virtual int endstone::Chunk::getZ () const = 0

Returns:

Z-coordinate


function ~Chunk

virtual endstone::Chunk::~Chunk () = default


The documentation for this class was generated from the following file include/endstone/level/chunk.h