net.minecraft.world.level.levelgen.structure

public class LegacyStructureDataHandler

djz
net.minecraft.world.level.levelgen.structure.LegacyStructureDataHandler
net.minecraft.class_3360
net.minecraft.world.FeatureUpdater
net.minecraft.src.C_2495_
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
f_71299_
private static final Map<String, String>
b
LEGACY_TO_CURRENT_MAP
field_14436
ANCIENT_TO_OLD
f_71300_
private static final Set<String>
c
OLD_STRUCTURE_REGISTRY_KEYS
field_37194
field_37194
f_209874_
private final boolean
d
hasLegacyData
field_14434
needsUpdate
f_71301_
private final Map<String, it.unimi.dsi.fastutil.longs.Long2ObjectMap<CompoundTag>>
e
dataMap
field_14432
featureIdToChunkNbt
f_71302_
private final Map<String, StructureFeatureIndexSavedData>
f
indexMap
field_14433
updateStates
f_71303_
private final List<String>
g
legacyKeys
field_17658
field_17658
f_71304_
private final List<String>
h
currentKeys
field_17659
field_17659
f_71305_

Constructor summary

ModifierConstructor
public (DimensionDataStorage persistentStateManager, List<String> p_71310_, List<String> arg2)

Method summary

Modifier and TypeMethod
public void
a(long arg0)
removeIndex(long arg0)
method_14744(long arg0)
markResolved(long arg0)
m_71318_(long arg0)
public CompoundTag
a(pj arg0)
updateFromLegacy(CompoundTag arg0)
method_14735(class_2487 arg0)
getUpdatedReferences(NbtCompound nbt)
m_71326_(C_4917_ arg0)
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)
m_71314_(int p_71316_, int p_71317_, String arg2)
private boolean
a(int arg0, int arg1)
isUnhandledStructureStart(int arg0, int arg1)
method_14737(int arg0, int arg1)
needsUpdate(int chunkX, int chunkZ)
m_71311_(int p_71313_, int arg1)
private CompoundTag
a(pj arg0, cfh arg1)
updateStructureStart(CompoundTag arg0, ChunkPos arg1)
method_14741(class_2487 arg0, class_1923 arg1)
getUpdatedStarts(NbtCompound nbt, ChunkPos pos)
m_71328_(C_4917_ p_71330_, C_1560_ arg1)
private void
a(dqp arg0)
populateCaches(DimensionDataStorage arg0)
method_14734(class_26 arg0)
init(PersistentStateManager persistentStateManager)
m_71320_(C_2781_ arg0)
public static LegacyStructureDataHandler
a(aai<cga> arg0, dqp arg1)
getLegacyStructureHandler(ResourceKey<Level> arg0, DimensionDataStorage arg1)
method_14745(class_5321<class_1937> arg0, class_26 arg1)
create(RegistryKey<World> world, PersistentStateManager persistentStateManager)
m_71331_(C_5264_<C_1596_> p_71332_, C_2781_ p_71333_)