|
| | Region (const lodestone::level::types::Vec2i &coords) |
| | FiniteLevel (const types::Bounds2i &bounds) |
| bool | isChunkInBounds (const coords::ChunkCoordinates &coords) override |
| const types::Bounds2i & | getBounds () const |
| const block::instance::BlockInstance & | getBlock (signed_size_t blockX, signed_size_t blockY, signed_size_t blockZ) const |
| void | setBlock (block::instance::BlockInstance &&block, signed_size_t blockX, signed_size_t blockY, signed_size_t blockZ) |
| void | setBlockRaw (block::instance::BlockInstance &&block, signed_size_t blockX, signed_size_t blockY, signed_size_t blockZ) |
| void | setBlockCreate (block::instance::BlockInstance &&block, signed_size_t blockX, signed_size_t blockY, signed_size_t blockZ, int height=256) |
| void | setBlockCreateRaw (block::instance::BlockInstance &&block, signed_size_t blockX, signed_size_t blockY, signed_size_t blockZ, int height=256) |
| int16_t | getHeightAt (signed_size_t blockX, signed_size_t blockZ) const |
| void | setHeightAt (int16_t height, signed_size_t blockX, signed_size_t blockZ) |
| void | setHeightAtCreate (int16_t height, signed_size_t blockX, signed_size_t blockZ, int newChunkHeight=256) |
| const block::instance::BlockInstance & | getBlockAtHeight (signed_size_t blockX, signed_size_t blockZ) const |
| void | setBlockAtHeight (block::instance::BlockInstance &&block, signed_size_t blockX, signed_size_t blockZ) |
| bool | isChunkInBounds (const coords::ChunkCoordinates &chunkCoordinates) override |
| size_t | getBlockCount () const |
| types::Bounds3i | getBlockBounds () const |
| world::World * | getWorld () const |
| bool | isInWorld () const |
| void | setWorld (world::World *world) |
| types::Vec3i | generateSpawnPos (unsigned int radius=21) const |
| virtual const level::types::Vec3i & | getSpawnPos () const |
| virtual void | setSpawnPos (const level::types::Vec3i &spawnPos) |
| virtual std::uint64_t | getCreationTime () const |
| virtual void | setCreationTime (std::uint64_t creationTime) |
| std::unique_ptr< properties::AbstractProperty > | getProperty (const std::string &name) override |
| | ~ChunkContainer () override=default |
| | ChunkContainer ()=default |
| | ChunkContainer (ChunkContainer &&)=default |
| ChunkContainer & | operator= (ChunkContainer &&)=default |
| std::string | toString () const override |
| bool | hasChunk (const coords::ChunkCoordinates &coords) const |
| bool | hasChunk (const int x, const int z) const |
| Chunk * | createChunk (const coords::ChunkCoordinates &coords, int height=256) |
| Chunk * | createChunk (const int x, const int z, const int height=256) |
| void | addChunk (std::unique_ptr< Chunk > chunk) |
| void | addChunk (const coords::ChunkCoordinates &coords, std::unique_ptr< Chunk > chunk) |
| void | addChunk (const int x, const int z, std::unique_ptr< Chunk > chunk) |
| Chunk * | getChunk (const coords::ChunkCoordinates &coords) |
| Chunk * | getChunk (const int x, const int z) |
| Chunk * | getChunkFromBlockCoords (const signed_size_t blockX, const signed_size_t blockZ) |
| Chunk * | getChunkCreate (const coords::ChunkCoordinates &coords, int height=256) |
| Chunk * | getChunkCreate (const int x, const int z, const int height=256) |
| Chunk * | getChunkFromBlockCoordsCreate (const int blockX, const int blockZ, const int height=256) |
| const Chunk * | getChunk (const coords::ChunkCoordinates &coords) const |
| const Chunk * | getChunk (const int x, const int z) const |
| const Chunk * | getChunkFromBlockCoords (const signed_size_t blockX, const signed_size_t blockZ) const |
| std::unique_ptr< Chunk > | detachChunk (const coords::ChunkCoordinates &coords, bool shouldInvalidateCoords=true) |
| std::unique_ptr< Chunk > | detachChunk (const int x, const int z, const bool shouldInvalidateCoords=true) |
| void | removeChunk (const coords::ChunkCoordinates &coords) |
| void | removeChunk (const int x, const int z) |
| void | merge (std::unique_ptr< ChunkContainer > rhs) |
| map_t< coords::ChunkCoordinates, std::unique_ptr< Chunk > > & | getChunks () |
| const map_t< coords::ChunkCoordinates, std::unique_ptr< Chunk > > & | getChunks () const |
| types::Bounds3i | getChunkBounds () const |
| | ChunkContainer (const ChunkContainer &)=delete |
| ChunkContainer & | operator= (const ChunkContainer &)=delete |
| constexpr | StringSerializable ()=default |
| virtual constexpr | ~StringSerializable ()=default |
| virtual | ~ReflectiveProperties ()=default |
| std::unique_ptr< TemplatedProperty< T > > | getProperty (const std::string &name) |
| std::unique_ptr< TemplatedProperty< T > > | getPropertyOr (const std::string &name, T value) |
A container which holds 32x32 chunks.