3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/world/level/chunk/vanilla_level_chunk_upgrade/Axis.h"
7#include "mc/world/level/dimension/LimboEntitiesVersion.h"
18namespace VanillaLevelChunkUpgrade {
21MCAPI
bool _updateBelowZero(::LevelChunk& lc, ::LevelChunk& generatedChunk, ::BlockSource& region);
23MCAPI
void _upgradeLevelChunkLegacy(::LevelChunk& lc, ::BlockSource& region);
25MCAPI
void _upgradeLevelChunkViaMetaData(::LevelChunk& lc, ::LevelChunk& generatedChunk, ::BlockSource& region);
27MCAPI
bool addBiomeSpecificVillageSkins(::CompoundTag& tag, ::BlockSource& region);
29MCAPI
bool convertOcelotTagToCat(::CompoundTag& tag);
31MCAPI
bool convertVillagerV1TagToV2(::CompoundTag& tag);
33MCAPI
bool convertVillagerV2TagToV1(::CompoundTag& tag);
35MCAPI
bool convertZombieVillagerV1TagToV2(::CompoundTag& tag);
37MCAPI
bool convertZombieVillagerV2TagToV1(::CompoundTag& tag);
39MCAPI
void fillNegativeSubChunksWithGeneration(::LevelChunk& lc, ::LevelChunk& generatedChunk);
42fillNegativeSubChunksWithGenerationOrAir(::LevelChunk& lc, ::LevelChunk& generatedChunk, ::BlockSource& region);
44MCAPI
void fixBlockStatesOnChunkBorderAxis(
45 ::BlockSource& region,
46 ::LevelChunk
const& levelChunk,
49 ::VanillaLevelChunkUpgrade::Axis fixAxis
52MCAPI
void fixStemBlockStates(::BlockSource& region, ::BlockPos updatePos, ::Block
const& block);
54MCAPI
void fixUnderwaterLavaLakes(::LevelChunk& lc, ::BlockSource&);
56MCAPI
void fixUselessDynamicWater(::LevelChunk& lc, ::BlockSource& region);
58MCAPI
void fixWallBlockStates(::BlockSource& region, ::BlockPos updatePos);
60MCAPI
void fixWallChunk(::LevelChunk& lc, ::BlockSource& region);
62MCAPI
bool levelChunkNeedsUpgrade(::LevelChunk
const& lc);
64MCAPI
void replaceSkullsWithFlattenedVersions(::LevelChunk& levelChunk);
66MCAPI
bool upgradeArmorStandComponents(::CompoundTag& tag);
68MCAPI
void upgradeOldLimboEntity(::CompoundTag& tag, ::LimboEntitiesVersion vers,
bool isTemplateWorld);
70MCAPI
void upgradeWorldHeight(::LevelChunk& lc, ::LevelChunk& generatedChunk, ::BlockSource& region);
75MCAPI ::std::vector<::std::string>
const& V1_VILLAGER_BEHAVIORS();
77MCAPI ::std::vector<::std::string>
const& V1_VILLAGER_CAREERS();
Definition BlockSource.h:73
Definition CompoundTag.h:23
Definition LevelChunk.h:87