|
bool | CheckBlockEntityType (const cParsedNBT &a_NBT, int a_TagIdx, const AStringVector &a_ExpectedTypes, Vector3i a_Pos) |
| Returns true iff the "id" child tag inside the specified tag equals (case-sensitive) any of the specified expected types. More...
|
|
void | ChunkLoadFailed (const cChunkCoords a_ChunkCoords, const AString &a_Reason, ContiguousByteBufferView a_ChunkDataToSave) |
| Reports that the specified chunk failed to load and saves the chunk data to an external file. More...
|
|
AString | DecodeSignLine (const AString &a_Line) |
| Decodes the text contained within a sign. More...
|
|
bool | GetBlockEntityNBTPos (const cParsedNBT &a_NBT, int a_TagIdx, Vector3i &a_AbsPos) |
| Helper function for extracting the X, Y, and Z int subtags of a NBT compound; returns true if successful. More...
|
|
bool | GetChunkData (const cChunkCoords &a_Chunk, ContiguousByteBuffer &a_Data) |
| Gets chunk data from the correct file; locks file CS as needed. More...
|
|
virtual const AString | GetName () const override |
|
const std::byte * | GetSectionData (const cParsedNBT &a_NBT, int a_Tag, const AString &a_ChildName, size_t a_Length) |
| Copies a_Length bytes of data from the specified NBT Tag's Child into the a_Destination buffer. More...
|
|
void | LoadArrowFromNBT (cEntityList &a_Entities, const cParsedNBT &a_NBT, int a_TagIdx) |
|
OwnedBlockEntity | LoadBannerFromNBT (const cParsedNBT &a_NBT, int a_TagIdx, BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta, Vector3i a_Pos) |
|
void | LoadBatFromNBT (cEntityList &a_Entities, const cParsedNBT &a_NBT, int a_TagIdx) |
|
OwnedBlockEntity | LoadBeaconFromNBT (const cParsedNBT &a_NBT, int a_TagIdx, BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta, Vector3i a_Pos) |
|
OwnedBlockEntity | LoadBedFromNBT (const cParsedNBT &a_NBT, int a_TagIdx, BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta, Vector3i a_Pos) |
|
bool | LoadBiomeMapFromNBT (cChunkDef::BiomeMap &a_BiomeMap, const cParsedNBT &a_NBT, int a_TagIdx) |
| Loads the chunk's biome map into a_BiomeMap if biomes present and valid; returns false otherwise. More...
|
|
void | LoadBlazeFromNBT (cEntityList &a_Entities, const cParsedNBT &a_NBT, int a_TagIdx) |
|
void | LoadBlockEntitiesFromNBT (cBlockEntities &a_BlockEntitites, const cParsedNBT &a_NBT, int a_Tag, const ChunkBlockData &a_BlockData) |
| Loads the chunk's BlockEntities from NBT data (a_Tag is the Level\TileEntities list tag; may be -1) More...
|
|
OwnedBlockEntity | LoadBlockEntityFromNBT (const cParsedNBT &a_NBT, int a_Tag, Vector3i a_Pos, BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta) |
| Loads the data for a block entity from the specified NBT tag. More...
|
|
void | LoadBoatFromNBT (cEntityList &a_Entities, const cParsedNBT &a_NBT, int a_TagIdx) |
|
OwnedBlockEntity | LoadBrewingstandFromNBT (const cParsedNBT &a_NBT, int a_TagIdx, BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta, Vector3i a_Pos) |
|
void | LoadCatFromNBT (cEntityList &a_Entities, const cParsedNBT &a_NBT, int a_TagIdx) |
|
void | LoadCaveSpiderFromNBT (cEntityList &a_Entities, const cParsedNBT &a_NBT, int a_TagIdx) |
|
OwnedBlockEntity | LoadChestFromNBT (const cParsedNBT &a_NBT, int a_TagIdx, BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta, Vector3i a_Pos) |
|
void | LoadChickenFromNBT (cEntityList &a_Entities, const cParsedNBT &a_NBT, int a_TagIdx) |
|
virtual bool | LoadChunk (const cChunkCoords &a_Chunk) override |
|
bool | LoadChunkFromData (const cChunkCoords &a_Chunk, ContiguousByteBufferView a_Data) |
| Loads the chunk from the data (no locking needed) More...
|
|
bool | LoadChunkFromNBT (const cChunkCoords &a_Chunk, const cParsedNBT &a_NBT, ContiguousByteBufferView a_RawChunkData) |
| Loads the chunk from NBT data (no locking needed). More...
|
|
void | LoadCodFromNBT (cEntityList &a_Entities, const cParsedNBT &a_NBT, int a_TagIdx) |
|
OwnedBlockEntity | LoadCommandBlockFromNBT (const cParsedNBT &a_NBT, int a_TagIdx, BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta, Vector3i a_Pos) |
|
void | LoadCowFromNBT (cEntityList &a_Entities, const cParsedNBT &a_NBT, int a_TagIdx) |
|
void | LoadCreeperFromNBT (cEntityList &a_Entities, const cParsedNBT &a_NBT, int a_TagIdx) |
|
OwnedBlockEntity | LoadDispenserFromNBT (const cParsedNBT &a_NBT, int a_TagIdx, BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta, Vector3i a_Pos) |
|
void | LoadDolphinFromNBT (cEntityList &a_Entities, const cParsedNBT &a_NBT, int a_TagIdx) |
|
void | LoadDonkeyFromNBT (cEntityList &a_Entities, const cParsedNBT &a_NBT, int a_TagIdx) |
|
bool | LoadDoublesListFromNBT (double *a_Doubles, int a_NumDoubles, const cParsedNBT &a_NBT, int a_TagIdx) |
| Loads an array of doubles of the specified length from the specified NBT list tag a_TagIdx; returns true if successful. More...
|
|
OwnedBlockEntity | LoadDropperFromNBT (const cParsedNBT &a_NBT, int a_TagIdx, BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta, Vector3i a_Pos) |
|
void | LoadDrownedFromNBT (cEntityList &a_Entities, const cParsedNBT &a_NBT, int a_TagIdx) |
|
void | LoadEggFromNBT (cEntityList &a_Entities, const cParsedNBT &a_NBT, int a_TagIdx) |
|
void | LoadElderGuardianFromNBT (cEntityList &a_Entities, const cParsedNBT &a_NBT, int a_TagIdx) |
|
OwnedBlockEntity | LoadEnchantingTableFromNBT (const cParsedNBT &a_NBT, int a_TagIdx, BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta, Vector3i a_Pos) |
|
OwnedBlockEntity | LoadEnderChestFromNBT (const cParsedNBT &a_NBT, int a_TagIdx, BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta, Vector3i a_Pos) |
|
void | LoadEnderCrystalFromNBT (cEntityList &a_Entities, const cParsedNBT &a_NBT, int a_TagIdx) |
|
void | LoadEnderDragonFromNBT (cEntityList &a_Entities, const cParsedNBT &a_NBT, int a_TagIdx) |
|
void | LoadEndermanFromNBT (cEntityList &a_Entities, const cParsedNBT &a_NBT, int a_TagIdx) |
|
void | LoadEndermiteFromNBT (cEntityList &a_Entities, const cParsedNBT &a_NBT, int a_TagIdx) |
|
OwnedBlockEntity | LoadEndPortalFromNBT (const cParsedNBT &a_NBT, int a_TagIdx, BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta, Vector3i a_Pos) |
|
void | LoadEntitiesFromNBT (cEntityList &a_Entitites, const cParsedNBT &a_NBT, int a_Tag) |
| Loads the chunk's entities from NBT data (a_Tag is the Level\Entities list tag; may be -1) More...
|
|
bool | LoadEntityBaseFromNBT (cEntity &a_Entity, const cParsedNBT &a_NBT, int a_TagIdx) |
| Loads entity common data from the NBT compound; returns true if successful. More...
|
|
void | LoadEntityFromNBT (cEntityList &a_Entities, const cParsedNBT &a_NBT, int a_EntityTagIdx, std::string_view a_EntityName) |
|
std::pair< AString, cUUID > | LoadEntityOwner (const cParsedNBT &a_NBT, int a_TagIdx) |
| Loads the owner name and UUID from the entity at the specified NBT tag. More...
|
|
void | LoadEvokerFromNBT (cEntityList &a_Entities, const cParsedNBT &a_NBT, int a_TagIdx) |
|
void | LoadExpOrbFromNBT (cEntityList &a_Entities, const cParsedNBT &a_NBT, int a_TagIdx) |
|
void | LoadFallingBlockFromNBT (cEntityList &a_Entities, const cParsedNBT &a_NBT, int a_TagIdx) |
|
void | LoadFireballFromNBT (cEntityList &a_Entities, const cParsedNBT &a_NBT, int a_TagIdx) |
|
void | LoadFireChargeFromNBT (cEntityList &a_Entities, const cParsedNBT &a_NBT, int a_TagIdx) |
|
bool | LoadFloatsListFromNBT (float *a_Floats, int a_NumFloats, const cParsedNBT &a_NBT, int a_TagIdx) |
| Loads an array of floats of the specified length from the specified NBT list tag a_TagIdx; returns true if successful. More...
|
|
OwnedBlockEntity | LoadFlowerPotFromNBT (const cParsedNBT &a_NBT, int a_TagIdx, BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta, Vector3i a_Pos) |
|
void | LoadFoxFromNBT (cEntityList &a_Entities, const cParsedNBT &a_NBT, int a_TagIdx) |
|
OwnedBlockEntity | LoadFurnaceFromNBT (const cParsedNBT &a_NBT, int a_TagIdx, BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta, Vector3i a_Pos) |
|
void | LoadGhastFromNBT (cEntityList &a_Entities, const cParsedNBT &a_NBT, int a_TagIdx) |
|
void | LoadGiantFromNBT (cEntityList &a_Entities, const cParsedNBT &a_NBT, int a_TagIdx) |
|
void | LoadGuardianFromNBT (cEntityList &a_Entities, const cParsedNBT &a_NBT, int a_TagIdx) |
|
void | LoadHangingFromNBT (cHangingEntity &a_Hanging, const cParsedNBT &a_NBT, int a_TagIdx) |
|
bool | LoadHeightMapFromNBT (cChunkDef::HeightMap &a_HeightMap, const cParsedNBT &a_NBT, int a_TagIdx) |
| Loads the chunk's height map into a_HeightMap if heights present and valid; returns false otherwise. More...
|
|
void | LoadHoglinFromNBT (cEntityList &a_Entities, const cParsedNBT &a_NBT, int a_TagIdx) |
|
OwnedBlockEntity | LoadHopperFromNBT (const cParsedNBT &a_NBT, int a_TagIdx, BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta, Vector3i a_Pos) |
|
void | LoadHorseFromNBT (cEntityList &a_Entities, const cParsedNBT &a_NBT, int a_TagIdx) |
|
void | LoadHuskFromNBT (cEntityList &a_Entities, const cParsedNBT &a_NBT, int a_TagIdx) |
|
void | LoadIllusionerFromNBT (cEntityList &a_Entities, const cParsedNBT &a_NBT, int a_TagIdx) |
|
void | LoadIronGolemFromNBT (cEntityList &a_Entities, const cParsedNBT &a_NBT, int a_TagIdx) |
|
void | LoadItemFrameFromNBT (cEntityList &a_Entities, const cParsedNBT &a_NBT, int a_TagIdx) |
|
bool | LoadItemFromNBT (cItem &a_Item, const cParsedNBT &a_NBT, int a_TagIdx) |
| Loads a cItem contents from the specified NBT tag; returns true if successful. More...
|
|
void | LoadItemGridFromNBT (cItemGrid &a_ItemGrid, const cParsedNBT &a_NBT, int a_ItemsTagIdx, int s_SlotOffset=0) |
| Loads contentents of an Items[] list tag into a cItemGrid ItemGrid begins at the specified slot offset Slots outside the ItemGrid range are ignored. More...
|
|
OwnedBlockEntity | LoadJukeboxFromNBT (const cParsedNBT &a_NBT, int a_TagIdx, BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta, Vector3i a_Pos) |
|
void | LoadLeashKnotFromNBT (cEntityList &a_Entities, const cParsedNBT &a_NBT, int a_TagIdx) |
|
void | LoadLeashToPosition (cMonster &a_Monster, const cParsedNBT &a_NBT, int a_TagIdx) |
| Loads the position to where is leashed the monster. More...
|
|
void | LoadLlamaFromNBT (cEntityList &a_Entities, const cParsedNBT &a_NBT, int a_TagIdx) |
|
void | LoadMagmaCubeFromNBT (cEntityList &a_Entities, const cParsedNBT &a_NBT, int a_TagIdx) |
|
std::shared_ptr< cMCAFile > | LoadMCAFile (const cChunkCoords &a_Chunk) |
| Gets the correct MCA file either from cache or from disk, manages the m_MCAFiles cache; assumes m_CS is locked. More...
|
|
void | LoadMinecartCFromNBT (cEntityList &a_Entities, const cParsedNBT &a_NBT, int a_TagIdx) |
|
void | LoadMinecartFFromNBT (cEntityList &a_Entities, const cParsedNBT &a_NBT, int a_TagIdx) |
|
void | LoadMinecartHFromNBT (cEntityList &a_Entities, const cParsedNBT &a_NBT, int a_TagIdx) |
|
void | LoadMinecartRFromNBT (cEntityList &a_Entities, const cParsedNBT &a_NBT, int a_TagIdx) |
|
void | LoadMinecartTFromNBT (cEntityList &a_Entities, const cParsedNBT &a_NBT, int a_TagIdx) |
|
OwnedBlockEntity | LoadMobHeadFromNBT (const cParsedNBT &a_NBT, int a_TagIdx, BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta, Vector3i a_Pos) |
|
OwnedBlockEntity | LoadMobSpawnerFromNBT (const cParsedNBT &a_NBT, int a_TagIdx, BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta, Vector3i a_Pos) |
|
bool | LoadMonsterBaseFromNBT (cMonster &a_Monster, const cParsedNBT &a_NBT, int a_TagIdx) |
| Loads monster common data from the NBT compound; returns true if successful. More...
|
|
void | LoadMooshroomFromNBT (cEntityList &a_Entities, const cParsedNBT &a_NBT, int a_TagIdx) |
|
void | LoadMuleFromNBT (cEntityList &a_Entities, const cParsedNBT &a_NBT, int a_TagIdx) |
|
OwnedBlockEntity | LoadNoteBlockFromNBT (const cParsedNBT &a_NBT, int a_TagIdx, BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta, Vector3i a_Pos) |
|
void | LoadOcelotFromNBT (cEntityList &a_Entities, const cParsedNBT &a_NBT, int a_TagIdx) |
|
void | LoadOldMinecartFromNBT (cEntityList &a_Entities, const cParsedNBT &a_NBT, int a_TagIdx) |
|
void | LoadPaintingFromNBT (cEntityList &a_Entities, const cParsedNBT &a_NBT, int a_TagIdx) |
|
void | LoadPandaFromNBT (cEntityList &a_Entities, const cParsedNBT &a_NBT, int a_TagIdx) |
|
void | LoadParrotFromNBT (cEntityList &a_Entities, const cParsedNBT &a_NBT, int a_TagIdx) |
|
void | LoadPhantomFromNBT (cEntityList &a_Entities, const cParsedNBT &a_NBT, int a_TagIdx) |
|
void | LoadPickupFromNBT (cEntityList &a_Entities, const cParsedNBT &a_NBT, int a_TagIdx) |
|
void | LoadPigFromNBT (cEntityList &a_Entities, const cParsedNBT &a_NBT, int a_TagIdx) |
|
void | LoadPiglinBruteFromNBT (cEntityList &a_Entities, const cParsedNBT &a_NBT, int a_TagIdx) |
|
void | LoadPiglinFromNBT (cEntityList &a_Entities, const cParsedNBT &a_NBT, int a_TagIdx) |
|
void | LoadPillagerFromNBT (cEntityList &a_Entities, const cParsedNBT &a_NBT, int a_TagIdx) |
|
void | LoadPolarBearFromNBT (cEntityList &a_Entities, const cParsedNBT &a_NBT, int a_TagIdx) |
|
bool | LoadProjectileBaseFromNBT (cProjectileEntity &a_Entity, const cParsedNBT &a_NBT, int a_TagIx) |
| Loads projectile common data from the NBT compound; returns true if successful. More...
|
|
void | LoadPufferfishFromNBT (cEntityList &a_Entities, const cParsedNBT &a_NBT, int a_TagIdx) |
|
void | LoadRabbitFromNBT (cEntityList &a_Entities, const cParsedNBT &a_NBT, int a_TagIdx) |
|
void | LoadRavagerFromNBT (cEntityList &a_Entities, const cParsedNBT &a_NBT, int a_TagIdx) |
|
void | LoadSalmonFromNBT (cEntityList &a_Entities, const cParsedNBT &a_NBT, int a_TagIdx) |
|
void | LoadSheepFromNBT (cEntityList &a_Entities, const cParsedNBT &a_NBT, int a_TagIdx) |
|
void | LoadShulkerFromNBT (cEntityList &a_Entities, const cParsedNBT &a_NBT, int a_TagIdx) |
|
OwnedBlockEntity | LoadSignFromNBT (const cParsedNBT &a_NBT, int a_TagIdx, BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta, Vector3i a_Pos) |
|
void | LoadSilverfishFromNBT (cEntityList &a_Entities, const cParsedNBT &a_NBT, int a_TagIdx) |
|
void | LoadSkeletonFromNBT (cEntityList &a_Entities, const cParsedNBT &a_NBT, int a_TagIdx) |
|
void | LoadSkeletonHorseFromNBT (cEntityList &a_Entities, const cParsedNBT &a_NBT, int a_TagIdx) |
|
void | LoadSlimeFromNBT (cEntityList &a_Entities, const cParsedNBT &a_NBT, int a_TagIdx) |
|
void | LoadSnowballFromNBT (cEntityList &a_Entities, const cParsedNBT &a_NBT, int a_TagIdx) |
|
void | LoadSnowGolemFromNBT (cEntityList &a_Entities, const cParsedNBT &a_NBT, int a_TagIdx) |
|
void | LoadSpiderFromNBT (cEntityList &a_Entities, const cParsedNBT &a_NBT, int a_TagIdx) |
|
void | LoadSplashPotionFromNBT (cEntityList &a_Entities, const cParsedNBT &a_NBT, int a_TagIdx) |
|
void | LoadSquidFromNBT (cEntityList &a_Entities, const cParsedNBT &a_NBT, int a_TagIdx) |
|
void | LoadStrayFromNBT (cEntityList &a_Entities, const cParsedNBT &a_NBT, int a_TagIdx) |
|
void | LoadStriderFromNBT (cEntityList &a_Entities, const cParsedNBT &a_NBT, int a_TagIdx) |
|
void | LoadThrownEnderpearlFromNBT (cEntityList &a_Entities, const cParsedNBT &a_NBT, int a_TagIdx) |
|
void | LoadTNTFromNBT (cEntityList &a_Entities, const cParsedNBT &a_NBT, int a_TagIdx) |
|
void | LoadTraderLlamaFromNBT (cEntityList &a_Entities, const cParsedNBT &a_NBT, int a_TagIdx) |
|
void | LoadTropicalFishFromNBT (cEntityList &a_Entities, const cParsedNBT &a_NBT, int a_TagIdx) |
|
void | LoadTurtleFromNBT (cEntityList &a_Entities, const cParsedNBT &a_NBT, int a_TagIdx) |
|
void | LoadVexFromNBT (cEntityList &a_Entities, const cParsedNBT &a_NBT, int a_TagIdx) |
|
void | LoadVillagerFromNBT (cEntityList &a_Entities, const cParsedNBT &a_NBT, int a_TagIdx) |
|
void | LoadVindicatorFromNBT (cEntityList &a_Entities, const cParsedNBT &a_NBT, int a_TagIdx) |
|
void | LoadWanderingTraderFromNBT (cEntityList &a_Entities, const cParsedNBT &a_NBT, int a_TagIdx) |
|
void | LoadWitchFromNBT (cEntityList &a_Entities, const cParsedNBT &a_NBT, int a_TagIdx) |
|
void | LoadWitherFromNBT (cEntityList &a_Entities, const cParsedNBT &a_NBT, int a_TagIdx) |
|
void | LoadWitherSkeletonFromNBT (cEntityList &a_Entities, const cParsedNBT &a_NBT, int a_TagIdx) |
|
void | LoadWolfFromNBT (cEntityList &a_Entities, const cParsedNBT &a_NBT, int a_TagIdx) |
|
void | LoadZoglinFromNBT (cEntityList &a_Entities, const cParsedNBT &a_NBT, int a_TagIdx) |
|
void | LoadZombieFromNBT (cEntityList &a_Entities, const cParsedNBT &a_NBT, int a_TagIdx) |
|
void | LoadZombieHorseFromNBT (cEntityList &a_Entities, const cParsedNBT &a_NBT, int a_TagIdx) |
|
void | LoadZombieVillagerFromNBT (cEntityList &a_Entities, const cParsedNBT &a_NBT, int a_TagIdx) |
|
void | LoadZombifiedPiglinFromNBT (cEntityList &a_Entities, const cParsedNBT &a_NBT, int a_TagIdx) |
|
virtual bool | SaveChunk (const cChunkCoords &a_Chunk) override |
|
Compression::Result | SaveChunkToData (const cChunkCoords &a_Chunk) |
| Saves the chunk into datastream (no locking needed) More...
|
|
bool | SetChunkData (const cChunkCoords &a_Chunk, ContiguousByteBufferView a_Data) |
| Sets chunk data into the correct file; locks file CS as needed. More...
|
|