![]() |
Botcraft 1.21.4
|
#include <World.hpp>
Public Member Functions | |
World (const bool is_shared_) | |
~World () | |
bool | IsLoaded (const Position &pos) const |
Check if a position is in a loaded chunk. | |
bool | IsShared () const |
is_shared getter | |
int | GetHeight () const |
Get height of the current dimension. | |
int | GetMinY () const |
Get min_y of the current dimension. | |
bool | IsInUltraWarmDimension () const |
Check if current dimension is Ultrawarm. | |
bool | HasChunkBeenModified (const int x, const int z) |
Check if a chunk modification flag is set. | |
std::optional< Chunk > | ResetChunkModificationState (const int x, const int z) |
Reset a chunk modification state. | |
void | LoadChunk (const int x, const int z, const std::string &dim, const std::thread::id &loader_id=std::this_thread::get_id()) |
Add a chunk at given coordinates. | |
void | UnloadChunk (const int x, const int z, const std::thread::id &loader_id=std::this_thread::get_id()) |
Remove a chunk at given coordinates. | |
void | UnloadAllChunks (const std::thread::id &loader_id=std::this_thread::get_id()) |
Remove all chunks from memory. | |
void | SetBlock (const Position &pos, const BlockstateId id) |
Set block at given pos. | |
const Blockstate * | GetBlock (const Position &pos) const |
Get the blockstate at a given position. | |
std::vector< const Blockstate * > | GetBlocks (const std::vector< Position > &pos) const |
Get blockstates for a set of positions. | |
std::vector< AABB > | GetColliders (const AABB &aabb, const Vector3< double > &movement=Vector3< double >(0.0)) const |
Get all colliders that could collide with a given AABB. | |
Vector3< double > | GetFlow (const Position &pos) |
Get the flow of fluid at a given position. | |
Utilities::ScopeLockedWrapper< const std::unordered_map< std::pair< int, int >, Chunk >, std::shared_mutex, std::shared_lock > | GetChunks () const |
Get a read-only locked version of all the loaded chunks. | |
void | SetBiome (const int x, const int y, const int z, const int biome) |
Set biome of given block. | |
const Biome * | GetBiome (const Position &pos) const |
Get the biome at a given position. | |
void | SetSkyLight (const Position &pos, const unsigned char skylight) |
Set sky light value. | |
void | SetBlockLight (const Position &pos, const unsigned char blocklight) |
Set block light value. | |
unsigned char | GetSkyLight (const Position &pos) const |
Get sky light value. | |
unsigned char | GetBlockLight (const Position &pos) const |
Get block light value. | |
void | SetBlockEntityData (const Position &pos, const ProtocolCraft::NBT::Value &data) |
Set block entity data at pos. | |
ProtocolCraft::NBT::Value | GetBlockEntityData (const Position &pos) const |
Get the block entity data at a given position. | |
std::string | GetDimension (const int x, const int z) const |
Get dimension of chunk at given coordinates. | |
std::string | GetCurrentDimension () const |
Get current world dimension. | |
void | SetCurrentDimension (const std::string &dimension) |
Set current world dimension. | |
void | SetDimensionHeight (const std::string &dimension, const int height) |
Set total height for given dimension. | |
void | SetDimensionMinY (const std::string &dimension, const int min_y) |
Set min block for given dimension. | |
void | SetDimensionUltrawarm (const std::string &dimension, const bool ultrawarm) |
Set ultrawarm bool for given dimension. | |
const Blockstate * | Raycast (const Vector3< double > &origin, const Vector3< double > &direction, const float max_radius, Position &out_pos, Position &out_normal) |
Perform a raycast in the voxel world and return position, normal and blockstate which are hit. | |
int | GetNextWorldInteractionSequenceId () |
Get a unique id used for server interactions. | |
bool | IsFree (const AABB &aabb, const bool fluid_collide) const |
Check if an AABB collides in the world. | |
std::optional< Position > | GetSupportingBlockPos (const AABB &aabb) const |
Get the block position supporting an aabb. | |
Protected Member Functions | |
virtual void | Handle (ProtocolCraft::ClientboundLoginPacket &msg) override |
virtual void | Handle (ProtocolCraft::ClientboundRespawnPacket &msg) override |
virtual void | Handle (ProtocolCraft::ClientboundBlockUpdatePacket &msg) override |
virtual void | Handle (ProtocolCraft::ClientboundSectionBlocksUpdatePacket &msg) override |
virtual void | Handle (ProtocolCraft::ClientboundForgetLevelChunkPacket &msg) override |
virtual void | Handle (ProtocolCraft::ClientboundLevelChunkWithLightPacket &msg) override |
virtual void | Handle (ProtocolCraft::ClientboundLightUpdatePacket &msg) override |
virtual void | Handle (ProtocolCraft::ClientboundBlockEntityDataPacket &msg) override |
virtual void | Handle (ProtocolCraft::ClientboundChunksBiomesPacket &msg) override |
virtual void | Handle (ProtocolCraft::ClientboundRegistryDataPacket &msg) override |
Private Member Functions | |
void | LoadChunkImpl (const int x, const int z, const std::string &dim, const std::thread::id &loader_id) |
void | UnloadChunkImpl (const int x, const int z, const std::thread::id &loader_id) |
void | SetBlockImpl (const Position &pos, const BlockstateId id) |
const Blockstate * | GetBlockImpl (const Position &pos) const |
void | SetCurrentDimensionImpl (const std::string &dimension) |
int | GetHeightImpl () const |
int | GetMinYImpl () const |
void | SetBiomeImpl (const int x, const int y, const int z, const int biome) |
void | UpdateChunk (const int chunk_x, const int chunk_z, const Position &pos) |
Progagate chunk update at pos to neighbouring chunks. | |
void | UpdateChunk (const int chunk_x, const int chunk_z) |
Progagate whole chunk update to neighbouring chunks. | |
Chunk * | GetChunk (const int x, const int z) |
Get a pointer to a chunk. | |
void | LoadDataInChunk (const int x, const int z, const std::vector< unsigned char > &data) |
void | LoadBlockEntityDataInChunk (const int x, const int z, const std::vector< ProtocolCraft::BlockEntityInfo > &block_entities) |
void | UpdateChunkLight (const int x, const int z, const std::string &dim, const std::vector< unsigned long long int > &light_mask, const std::vector< unsigned long long int > &empty_light_mask, const std::vector< std::vector< char > > &data, const bool sky) |
size_t | GetDimIndex (const std::string &dim) |
Private Attributes | |
std::unordered_map< std::pair< int, int >, Chunk > | terrain |
std::shared_mutex | world_mutex |
const bool | is_shared |
std::string | current_dimension |
std::unordered_map< std::string, size_t > | dimension_index_map |
std::unordered_map< size_t, std::string > | index_dimension_map |
std::atomic< int > | world_interaction_sequence_id |
std::unordered_map< std::string, unsigned int > | dimension_height |
Height of the chunks in a given dimension. | |
std::unordered_map< std::string, int > | dimension_min_y |
Height of the lowest block in a given dimension. | |
std::unordered_map< std::string, bool > | dimension_ultrawarm |
Botcraft::World::World | ( | const bool | is_shared_ | ) |
is_shared_ | If true, this world can be shared by multiple bot instances (assuming they all are and stay in the same dimension) |
Definition at line 9 of file World.cpp.
References current_dimension, and world_interaction_sequence_id.
Get the biome at a given position.
Thread-safe
pos | Block position |
Definition at line 287 of file World.cpp.
References Botcraft::CHUNK_WIDTH, terrain, world_mutex, Botcraft::Vector3< T >::x, Botcraft::Vector3< T >::y, and Botcraft::Vector3< T >::z.
const Blockstate * Botcraft::World::GetBlock | ( | const Position & | pos | ) | const |
Get the blockstate at a given position.
Thread-safe
pos | Position of the block |
Definition at line 142 of file World.cpp.
References GetBlockImpl(), and world_mutex.
Referenced by Raycast().
ProtocolCraft::NBT::Value Botcraft::World::GetBlockEntityData | ( | const Position & | pos | ) | const |
Get the block entity data at a given position.
Thread-safe
pos | Position of the block entity |
Definition at line 403 of file World.cpp.
References Botcraft::CHUNK_WIDTH, terrain, world_mutex, Botcraft::Vector3< T >::x, Botcraft::Vector3< T >::y, and Botcraft::Vector3< T >::z.
|
private |
Definition at line 1063 of file World.cpp.
References Botcraft::CHUNK_WIDTH, Botcraft::AssetsManager::GetBlockstate(), Botcraft::AssetsManager::getInstance(), terrain, Botcraft::Vector3< T >::x, Botcraft::Vector3< T >::y, and Botcraft::Vector3< T >::z.
Referenced by GetBlock(), GetBlocks(), GetColliders(), GetFlow(), GetSupportingBlockPos(), and IsFree().
unsigned char Botcraft::World::GetBlockLight | ( | const Position & | pos | ) | const |
Get block light value.
Thread-safe
pos | Block position |
Definition at line 358 of file World.cpp.
References Botcraft::CHUNK_WIDTH, terrain, world_mutex, Botcraft::Vector3< T >::x, Botcraft::Vector3< T >::y, and Botcraft::Vector3< T >::z.
std::vector< const Blockstate * > Botcraft::World::GetBlocks | ( | const std::vector< Position > & | pos | ) | const |
Get blockstates for a set of positions.
More efficient than calling multiple times GetBlock. Thread-safe
pos | Positions of the blocks |
Definition at line 148 of file World.cpp.
References GetBlockImpl(), and world_mutex.
|
private |
Get a pointer to a chunk.
Not thread-safe
Definition at line 1255 of file World.cpp.
References terrain.
Referenced by UpdateChunk(), and UpdateChunk().
Utilities::ScopeLockedWrapper< const std::unordered_map< std::pair< int, int >, Chunk >, std::shared_mutex, std::shared_lock > Botcraft::World::GetChunks | ( | ) | const |
Get a read-only locked version of all the loaded chunks.
Definition at line 266 of file World.cpp.
References terrain, and world_mutex.
std::vector< AABB > Botcraft::World::GetColliders | ( | const AABB & | aabb, |
const Vector3< double > & | movement = Vector3<double>(0.0) |
||
) | const |
Get all colliders that could collide with a given AABB.
Thread-safe
aabb | AABB of the blocks to search for |
movement | Optional movement vector that will be added to the AABB |
Definition at line 160 of file World.cpp.
References Botcraft::Vector3< T >::Abs(), GetBlockImpl(), Botcraft::AABB::GetCenter(), Botcraft::Blockstate::GetCollidersAtPos(), Botcraft::AABB::GetHalfSize(), Botcraft::AABB::GetMax(), Botcraft::AABB::GetMin(), Botcraft::Blockstate::IsSolid(), world_mutex, Botcraft::Vector3< T >::x, Botcraft::Vector3< T >::y, and Botcraft::Vector3< T >::z.
std::string Botcraft::World::GetCurrentDimension | ( | ) | const |
std::string Botcraft::World::GetDimension | ( | const int | x, |
const int | z | ||
) | const |
|
private |
Definition at line 1429 of file World.cpp.
References dimension_index_map, and index_dimension_map.
Referenced by LoadChunkImpl().
Get the flow of fluid at a given position.
pos | Block position |
Definition at line 192 of file World.cpp.
References GetBlockImpl(), Botcraft::Blockstate::GetFluidHeight(), Botcraft::Blockstate::IsFluidFalling(), Botcraft::Blockstate::IsFluidOrWaterlogged(), Botcraft::Blockstate::IsSolid(), Botcraft::Blockstate::IsWaterOrWaterlogged(), Botcraft::Vector3< T >::Normalize(), world_mutex, Botcraft::Vector3< T >::x, Botcraft::Vector3< T >::y, and Botcraft::Vector3< T >::z.
int Botcraft::World::GetHeight | ( | ) | const |
Get height of the current dimension.
Definition at line 42 of file World.cpp.
References GetHeightImpl(), and world_mutex.
|
private |
Definition at line 1108 of file World.cpp.
References current_dimension, and dimension_height.
Referenced by GetHeight(), and UpdateChunkLight().
int Botcraft::World::GetMinY | ( | ) | const |
Get min_y of the current dimension.
Definition at line 52 of file World.cpp.
References GetMinYImpl(), and world_mutex.
|
private |
Definition at line 1117 of file World.cpp.
References current_dimension, and dimension_min_y.
Referenced by GetMinY(), and UpdateChunkLight().
int Botcraft::World::GetNextWorldInteractionSequenceId | ( | ) |
Get a unique id used for server interactions.
Thread-safe
Definition at line 607 of file World.cpp.
References world_interaction_sequence_id.
unsigned char Botcraft::World::GetSkyLight | ( | const Position & | pos | ) | const |
Get sky light value.
Thread-safe
pos | Block position |
Definition at line 341 of file World.cpp.
References Botcraft::CHUNK_WIDTH, terrain, world_mutex, Botcraft::Vector3< T >::x, Botcraft::Vector3< T >::y, and Botcraft::Vector3< T >::z.
Get the block position supporting an aabb.
aabb | The entity AABB |
Definition at line 663 of file World.cpp.
References Botcraft::AABB::Collide(), GetBlockImpl(), Botcraft::AABB::GetCenter(), Botcraft::Blockstate::GetCollidersAtPos(), Botcraft::AABB::GetMax(), Botcraft::AABB::GetMin(), Botcraft::Blockstate::IsSolid(), Botcraft::Vector3< T >::SqrDist(), world_mutex, Botcraft::Vector3< T >::x, Botcraft::Vector3< T >::y, and Botcraft::Vector3< T >::z.
|
overrideprotectedvirtual |
Definition at line 911 of file World.cpp.
References SetBlockEntityData().
|
overrideprotectedvirtual |
Definition at line 762 of file World.cpp.
References SetBlockImpl(), and world_mutex.
|
overrideprotectedvirtual |
Definition at line 917 of file World.cpp.
References LOG_WARNING, terrain, and world_mutex.
|
overrideprotectedvirtual |
Definition at line 819 of file World.cpp.
References UnloadChunk().
|
overrideprotectedvirtual |
Definition at line 875 of file World.cpp.
References current_dimension, LoadBlockEntityDataInChunk(), LoadChunkImpl(), LoadDataInChunk(), UpdateChunkLight(), and world_mutex.
|
overrideprotectedvirtual |
Definition at line 889 of file World.cpp.
References current_dimension, terrain, UpdateChunkLight(), and world_mutex.
|
overrideprotectedvirtual |
Definition at line 708 of file World.cpp.
References dimension_height, dimension_min_y, dimension_ultrawarm, SetCurrentDimensionImpl(), and world_mutex.
|
overrideprotectedvirtual |
Definition at line 936 of file World.cpp.
References dimension_height, dimension_index_map, dimension_min_y, dimension_ultrawarm, ProtocolCraft::NBT::Tag::get(), ProtocolCraft::BaseMessage< TDerived >::GetId(), index_dimension_map, and world_mutex.
|
overrideprotectedvirtual |
Definition at line 740 of file World.cpp.
References current_dimension, dimension_height, dimension_min_y, dimension_ultrawarm, SetCurrentDimensionImpl(), UnloadAllChunks(), and world_mutex.
|
overrideprotectedvirtual |
Definition at line 775 of file World.cpp.
References Botcraft::CHUNK_WIDTH, Botcraft::SECTION_HEIGHT, SetBlockImpl(), and world_mutex.
bool Botcraft::World::HasChunkBeenModified | ( | const int | x, |
const int | z | ||
) |
bool Botcraft::World::IsFree | ( | const AABB & | aabb, |
const bool | fluid_collide | ||
) | const |
Check if an AABB collides in the world.
aabb | AABB to check against the world |
fluid_collide | if true, will count fluids as collision |
Definition at line 613 of file World.cpp.
References Botcraft::AABB::Collide(), GetBlockImpl(), Botcraft::Blockstate::GetCollidersAtPos(), Botcraft::AABB::GetMax(), Botcraft::AABB::GetMin(), Botcraft::Blockstate::IsFluid(), Botcraft::Blockstate::IsSolid(), world_mutex, Botcraft::Vector3< T >::x, Botcraft::Vector3< T >::y, and Botcraft::Vector3< T >::z.
bool Botcraft::World::IsInUltraWarmDimension | ( | ) | const |
Check if current dimension is Ultrawarm.
Definition at line 62 of file World.cpp.
References current_dimension, dimension_ultrawarm, and world_mutex.
bool Botcraft::World::IsLoaded | ( | const Position & | pos | ) | const |
Check if a position is in a loaded chunk.
Thread-safe
pos | Block position |
Definition at line 27 of file World.cpp.
References Botcraft::CHUNK_WIDTH, terrain, world_mutex, Botcraft::Vector3< T >::x, and Botcraft::Vector3< T >::z.
bool Botcraft::World::IsShared | ( | ) | const |
|
private |
void Botcraft::World::LoadChunk | ( | const int | x, |
const int | z, | ||
const std::string & | dim, | ||
const std::thread::id & | loader_id = std::this_thread::get_id() |
||
) |
Add a chunk at given coordinates.
If already exists in another dimension, will be erased first. Thread-safe
x | X chunk coordinate |
z | Z chunk coordinate |
dim | Dimension in which the chunk is added |
loader_id | Id of the loader of this chunk (used for shared worlds), default: current thread id |
|
private |
Definition at line 977 of file World.cpp.
References dimension_height, dimension_min_y, GetDimIndex(), is_shared, LOG_WARNING, terrain, and UnloadChunkImpl().
Referenced by Handle().
|
private |
Definition at line 1275 of file World.cpp.
References Botcraft::Chunk::LoadChunkData(), terrain, and UpdateChunk().
Referenced by Handle().
const Blockstate * Botcraft::World::Raycast | ( | const Vector3< double > & | origin, |
const Vector3< double > & | direction, | ||
const float | max_radius, | ||
Position & | out_pos, | ||
Position & | out_normal | ||
) |
Perform a raycast in the voxel world and return position, normal and blockstate which are hit.
Thread-safe
origin | origin the origin of the ray |
direction | direction the direction of the ray |
max_radius | max_radius maximum distance of the search, must be > 0 |
out_pos | out_pos the position of the block hit |
out_normal | out_normal the normal of the face hit |
Definition at line 487 of file World.cpp.
References GetBlock(), Botcraft::Blockstate::GetCollidersAtPos(), Botcraft::Blockstate::IsAir(), Botcraft::Vector3< T >::x, Botcraft::Vector3< T >::y, and Botcraft::Vector3< T >::z.
std::optional< Chunk > Botcraft::World::ResetChunkModificationState | ( | const int | x, |
const int | z | ||
) |
void Botcraft::World::SetBiome | ( | const int | x, |
const int | y, | ||
const int | z, | ||
const int | biome | ||
) |
|
private |
Definition at line 1131 of file World.cpp.
References Botcraft::CHUNK_WIDTH, and terrain.
void Botcraft::World::SetBlock | ( | const Position & | pos, |
const BlockstateId | id | ||
) |
Set block at given pos.
Does nothing if pos is not loaded. Thread-safe
pos | Position of the block to set |
id | Id of the desired block |
Definition at line 136 of file World.cpp.
References SetBlockImpl(), and world_mutex.
void Botcraft::World::SetBlockEntityData | ( | const Position & | pos, |
const ProtocolCraft::NBT::Value & | data | ||
) |
Set block entity data at pos.
Thread-safe
pos | Position of the block entity |
data | Data to set |
Definition at line 375 of file World.cpp.
References Botcraft::CHUNK_WIDTH, ProtocolCraft::NBT::Value::HasData(), terrain, world_mutex, Botcraft::Vector3< T >::x, Botcraft::Vector3< T >::y, and Botcraft::Vector3< T >::z.
Referenced by Handle().
|
private |
Definition at line 1036 of file World.cpp.
References Botcraft::CHUNK_WIDTH, terrain, UpdateChunk(), Botcraft::Vector3< T >::x, Botcraft::Vector3< T >::y, and Botcraft::Vector3< T >::z.
Referenced by Handle(), Handle(), and SetBlock().
void Botcraft::World::SetBlockLight | ( | const Position & | pos, |
const unsigned char | blocklight | ||
) |
Set block light value.
Thread-safe
pos | Block position |
blocklight | Desired block light value |
Definition at line 325 of file World.cpp.
References Botcraft::CHUNK_WIDTH, terrain, world_mutex, Botcraft::Vector3< T >::x, Botcraft::Vector3< T >::y, and Botcraft::Vector3< T >::z.
void Botcraft::World::SetCurrentDimension | ( | const std::string & | dimension | ) |
|
private |
Definition at line 1099 of file World.cpp.
References current_dimension.
void Botcraft::World::SetDimensionHeight | ( | const std::string & | dimension, |
const int | height | ||
) |
Set total height for given dimension.
Thread-safe
dimension | Dimension to set height for |
height | Total height of dimension |
Definition at line 466 of file World.cpp.
References dimension_height, and world_mutex.
void Botcraft::World::SetDimensionMinY | ( | const std::string & | dimension, |
const int | min_y | ||
) |
Set min block for given dimension.
Thread-safe
dimension | Dimension to set min_y for |
min_y | Min block of dimension |
Definition at line 472 of file World.cpp.
References dimension_min_y, and world_mutex.
void Botcraft::World::SetDimensionUltrawarm | ( | const std::string & | dimension, |
const bool | ultrawarm | ||
) |
Set ultrawarm bool for given dimension.
Thread-safe
dimension | Dimension to set ultrawarm for |
ultrawarm | Whether the dimension is ultrawam (no water, lava flows faster etc...) |
Definition at line 480 of file World.cpp.
References dimension_ultrawarm, and world_mutex.
void Botcraft::World::SetSkyLight | ( | const Position & | pos, |
const unsigned char | skylight | ||
) |
Set sky light value.
Thread-safe
pos | Block position |
skylight | Desired sky light value |
Definition at line 309 of file World.cpp.
References Botcraft::CHUNK_WIDTH, terrain, world_mutex, Botcraft::Vector3< T >::x, Botcraft::Vector3< T >::y, and Botcraft::Vector3< T >::z.
void Botcraft::World::UnloadAllChunks | ( | const std::thread::id & | loader_id = std::this_thread::get_id() | ) |
Remove all chunks from memory.
loader_id | Id of the loader of this chunk (used for shared worlds), default: current thread id |
Definition at line 119 of file World.cpp.
References terrain, and world_mutex.
Referenced by Handle().
void Botcraft::World::UnloadChunk | ( | const int | x, |
const int | z, | ||
const std::thread::id & | loader_id = std::this_thread::get_id() |
||
) |
Remove a chunk at given coordinates.
Thread-safe
x | X chunk coordinate |
z | Z chunk coordinate |
loader_id | Id of the loader of this chunk (used for shared worlds), default: current thread id |
Definition at line 113 of file World.cpp.
References UnloadChunkImpl(), and world_mutex.
Referenced by Handle().
|
private |
Definition at line 1020 of file World.cpp.
References terrain, and UpdateChunk().
Referenced by LoadChunkImpl(), and UnloadChunk().
|
private |
Progagate whole chunk update to neighbouring chunks.
Definition at line 1213 of file World.cpp.
References Botcraft::East, GetChunk(), Botcraft::North, Botcraft::South, Botcraft::Chunk::UpdateNeighbour(), and Botcraft::West.
|
private |
Progagate chunk update at pos to neighbouring chunks.
Definition at line 1149 of file World.cpp.
References Botcraft::CHUNK_WIDTH, Botcraft::Chunk::GetBlock(), GetChunk(), LOG_WARNING, Botcraft::Chunk::SetBlock(), Botcraft::Vector3< T >::x, Botcraft::Vector3< T >::y, and Botcraft::Vector3< T >::z.
Referenced by LoadDataInChunk(), SetBlockImpl(), and UnloadChunkImpl().
|
private |
Definition at line 1326 of file World.cpp.
References Botcraft::CHUNK_WIDTH, GetHeightImpl(), GetMinYImpl(), LOG_WARNING, Botcraft::SECTION_HEIGHT, terrain, Botcraft::Vector3< T >::x, Botcraft::Vector3< T >::y, and Botcraft::Vector3< T >::z.
|
private |
Definition at line 388 of file World.hpp.
Referenced by GetHeightImpl(), GetMinYImpl(), Handle(), Handle(), Handle(), IsInUltraWarmDimension(), SetCurrentDimensionImpl(), and World().
|
private |
Height of the chunks in a given dimension.
Definition at line 399 of file World.hpp.
Referenced by GetHeightImpl(), Handle(), Handle(), Handle(), LoadChunkImpl(), and SetDimensionHeight().
|
private |
Definition at line 389 of file World.hpp.
Referenced by GetDimIndex(), and Handle().
|
private |
Height of the lowest block in a given dimension.
Definition at line 401 of file World.hpp.
Referenced by GetMinYImpl(), Handle(), Handle(), Handle(), LoadChunkImpl(), and SetDimensionMinY().
|
private |
Definition at line 404 of file World.hpp.
Referenced by Handle(), Handle(), Handle(), IsInUltraWarmDimension(), and SetDimensionUltrawarm().
|
private |
Definition at line 390 of file World.hpp.
Referenced by GetDimIndex(), and Handle().
|
private |
Definition at line 382 of file World.hpp.
Referenced by IsShared(), and LoadChunkImpl().
|
private |
Definition at line 375 of file World.hpp.
Referenced by GetBiome(), GetBlockEntityData(), GetBlockImpl(), GetBlockLight(), GetChunk(), GetChunks(), GetSkyLight(), Handle(), Handle(), HasChunkBeenModified(), IsLoaded(), LoadBlockEntityDataInChunk(), LoadChunkImpl(), LoadDataInChunk(), ResetChunkModificationState(), SetBiomeImpl(), SetBlockEntityData(), SetBlockImpl(), SetBlockLight(), SetSkyLight(), UnloadAllChunks(), UnloadChunkImpl(), and UpdateChunkLight().
|
private |
Definition at line 394 of file World.hpp.
Referenced by GetNextWorldInteractionSequenceId(), and World().
|
mutableprivate |
Definition at line 376 of file World.hpp.
Referenced by GetBiome(), GetBlock(), GetBlockEntityData(), GetBlockLight(), GetBlocks(), GetChunks(), GetColliders(), GetFlow(), GetHeight(), GetMinY(), GetSkyLight(), GetSupportingBlockPos(), Handle(), Handle(), Handle(), Handle(), Handle(), Handle(), Handle(), Handle(), HasChunkBeenModified(), IsFree(), IsInUltraWarmDimension(), IsLoaded(), ResetChunkModificationState(), SetBlock(), SetBlockEntityData(), SetBlockLight(), SetDimensionHeight(), SetDimensionMinY(), SetDimensionUltrawarm(), SetSkyLight(), UnloadAllChunks(), and UnloadChunk().