net.minecraft.world.level.levelgen.structure

public class LegacyStructureDataHandler

eni
net.minecraft.world.level.levelgen.structure.LegacyStructureDataHandler
net.minecraft.class_3360
net.minecraft.world.FeatureUpdater
net.minecraft.world.level.levelgen.structure.PersistentStructureLegacy

Field summary

Modifier and TypeField
private static final Map<String, String>
a
CURRENT_TO_LEGACY_MAP
field_14435
OLD_TO_NEW
private static final Map<String, String>
b
LEGACY_TO_CURRENT_MAP
field_14436
ANCIENT_TO_OLD
private static final Set<String>
c
OLD_STRUCTURE_REGISTRY_KEYS
field_37194
NEW_STRUCTURE_NAMES
private final boolean
d
hasLegacyData
field_14434
needsUpdate
private final Map<String, it.unimi.dsi.fastutil.longs.Long2ObjectMap<CompoundTag>>
e
dataMap
field_14432
featureIdToChunkNbt
private final Map<String, StructureFeatureIndexSavedData>
f
indexMap
field_14433
updateStates
private final List<String>
g
legacyKeys
field_17658
oldNames
private final List<String>
h
currentKeys
field_17659
newNames

Constructor summary

ModifierConstructor
public (DimensionDataStorage persistentStateManager, List<String> oldNames, List<String> newNames)

Method summary

Modifier and TypeMethod
public void
a(long arg0)
removeIndex(long arg0)
method_14744(long arg0)
markResolved(long chunkPos)
public CompoundTag
a(tq arg0)
updateFromLegacy(CompoundTag arg0)
method_14735(class_2487 arg0)
getUpdatedReferences(NbtCompound nbt)
private boolean
a(int arg0, int arg1, String arg2)
hasLegacyStart(int arg0, int arg1, String arg2)
method_14738(int arg0, int arg1, String arg2)
needsUpdate(int chunkX, int chunkZ, String id)
private boolean
a(int arg0, int arg1)
isUnhandledStructureStart(int arg0, int arg1)
method_14737(int arg0, int arg1)
needsUpdate(int chunkX, int chunkZ)
private CompoundTag
a(tq arg0, dfp arg1)
updateStructureStart(CompoundTag arg0, ChunkPos arg1)
method_14741(class_2487 arg0, class_1923 arg1)
getUpdatedStarts(NbtCompound nbt, ChunkPos pos)
private void
a(eva arg0)
populateCaches(DimensionDataStorage arg0)
method_14734(class_26 arg0)
init(PersistentStateManager persistentStateManager)
public static LegacyStructureDataHandler
a(aku<dgj> arg0, eva arg1)
getLegacyStructureHandler(ResourceKey<Level> arg0, DimensionDataStorage arg1)
method_14745(class_5321<class_1937> arg0, class_26 arg1)
create(RegistryKey<World> world, PersistentStateManager persistentStateManager)