|
| | ImmutableChunk ()=default |
| | ImmutableChunk (const coords::ChunkCoordinates &coords, ChunkContainer *container=nullptr) |
| ChunkType | type () override |
| int | getChunkHeight () const override |
| | Gets the height of the chunk in Sections, can be used for getting section count.
|
| section::Section * | getSection (const coords::SectionCoordinates §ionY) const override |
| const block::instance::BlockInstance & | getBlock (int localX, int sectionY, int localZ) const override |
| section::Section * | getSectionCreate (const coords::SectionCoordinates §ionY) override |
| void | setBlock (block::instance::BlockInstance &&block, int localX, int y, int localZ) override |
| | Sets a block at the given X, Y, and Z coordinates.
|
| void | setBlockRaw (block::instance::BlockInstance &&block, int localX, int y, int localZ) override |
| | Sets a block at the given X, Y, and Z coordinates.
|
| void | setHeightAt (int16_t height, int localX, int localZ) override |
| void | calculateHeightmap () override |
| void | calculateHeightmapAtColumn (int localX, int localZ, int height) override |
| int | getSectionCount () const override |
| int16_t | getHeightAt (int localX, int localZ) const override |
| const block::instance::BlockInstance & | getBlockAtHeight (int localX, int localZ) const override |
| void | setBlockAtHeight (block::instance::BlockInstance &&block, int localX, int localZ) override |
| | Chunk () |
| std::string | toString () const override |
| | Chunk (const coords::ChunkCoordinates &coords, ChunkContainer *container=nullptr) |
| | ~Chunk () override |
| int | getChunkBlockHeight () const |
| | Gets the height of the chunk in Blocks.
|
| virtual section::Section * | getSectionFromBlockY (const signed_size_t &blockY) const |
| virtual section::Section * | getSectionFromBlockYCreate (const signed_size_t &blockY) |
| virtual const int16_t * | getHeightmap () const |
| bool | hasCoords () const |
| const std::optional< coords::ChunkCoordinates > & | getCoords () const |
| void | setCoords (const std::optional< coords::ChunkCoordinates > &coords) |
| void | invalidateCoords () |
| void | attach (ChunkContainer *container) |
| void | attach (ChunkContainer *container, const coords::ChunkCoordinates &coords) |
| void | detach (bool shouldInvalidateCoords) |
| bool | isInContainer () const |
| ChunkContainer * | getContainer () const |
| virtual void | postProcess () |
| constexpr | StringSerializable ()=default |
| virtual constexpr | ~StringSerializable ()=default |
| virtual | ~ReflectiveProperties ()=default |
| virtual std::unique_ptr< AbstractProperty > | getProperty (const std::string &name) |
| template<typename T> |
| std::unique_ptr< TemplatedProperty< T > > | getProperty (const std::string &name) |
| template<typename T> |
| std::unique_ptr< TemplatedProperty< T > > | getPropertyOr (const std::string &name, T value) |
| constexpr | IHasDerivedTypes ()=default |
| virtual constexpr | ~IHasDerivedTypes ()=default |
| bool constexpr | instanceOf (EType type) |