|
Lodestone.Level
|
Immutable section, used in place of returning empty/null LevelSection. More...
#include <ImmutableSection.h>


Public Member Functions | |
| SectionType | type () override |
| uint64_t | getModificationCount () override |
| const common::storage::palette::PalletizedStorage< block::instance::BlockInstance > & | getBlockStorage () override |
| const block::instance::BlockInstance & | getBlock (const int localX, const int localY, const int localZ) const override |
| void | setBlock (block::instance::BlockInstance &&block, int localX, int localY, int localZ) override |
| lodestone::common::storage::bits::AbstractBitStorage * | getBlockLightStorage () override |
| lodestone::common::storage::bits::AbstractBitStorage * | getSkyLightStorage () override |
| void | setBlockLight (int localX, int localY, int localZ, uint8_t lightLevel) override |
| void | setSkyLight (int localX, int localY, int localZ, uint8_t lightLevel) override |
| Public Member Functions inherited from lodestone::common::util::IHasDerivedTypes< SectionType > | |
| constexpr | IHasDerivedTypes ()=default |
| virtual constexpr | ~IHasDerivedTypes ()=default |
| bool constexpr | instanceOf (EType type) |
Static Public Member Functions | |
| static ImmutableSection * | getInstance () |
Static Private Attributes | |
| static const common::storage::palette::PalletizedStorage< block::instance::BlockInstance > | EMPTY_BLOCK_STORAGE = common::storage::palette::PalletizedStorage<block::instance::BlockInstance>(0, *block::instance::ImmutableBlockInstance::getInstance()) |
Additional Inherited Members | |
| Static Public Attributes inherited from lodestone::level::chunk::section::Section | |
| static constexpr int | TOTAL_SECTION_3D_SIZE = common::constants::CHUNK_WIDTH * common::constants::SECTION_HEIGHT * common::constants::CHUNK_DEPTH |
| static constexpr int | TOTAL_SECTION_2D_SIZE = common::constants::CHUNK_WIDTH * common::constants::CHUNK_DEPTH |
Immutable section, used in place of returning empty/null LevelSection.
|
overridevirtual |
Implements lodestone::level::chunk::section::Section.
|
overridevirtual |
Implements lodestone::level::chunk::section::Section.
|
overridevirtual |
Implements lodestone::level::chunk::section::Section.
|
static |
|
overridevirtual |
Implements lodestone::level::chunk::section::Section.
|
overridevirtual |
Implements lodestone::level::chunk::section::Section.
|
overridevirtual |
Implements lodestone::level::chunk::section::Section.
|
overridevirtual |
Implements lodestone::level::chunk::section::Section.
|
overridevirtual |
Implements lodestone::level::chunk::section::Section.
|
overridevirtual |
|
staticprivate |