net.minecraft.world.level.chunk.storage

public class ChunkStorage

implements AutoCloseable

ead
net.minecraft.world.level.chunk.storage.ChunkStorage
net.minecraft.class_3977
net.minecraft.world.storage.VersionedChunkStorage
net.minecraft.world.level.chunk.storage.IChunkLoader

Field summary

Modifier and TypeField
public static final int
d
LAST_MONOLYTH_STRUCTURE_DATA_VERSION
field_36219
FEATURE_UPDATING_VERSION
private final IOWorker
a
worker
field_21494
worker
protected final com.mojang.datafixers.DataFixer
e
fixerUpper
field_17655
dataFixer
private volatile LegacyStructureDataHandler
b
legacyStructureHandler
field_17654
featureUpdater

Constructor summary

ModifierConstructor
public (RegionStorageInfo storageKey, Path directory, com.mojang.datafixers.DataFixer dataFixer, boolean dsync)

Method summary

Modifier and TypeMethod
public boolean
b(dfp arg0, int arg1)
isOldChunkAround(ChunkPos arg0, int arg1)
method_42328(class_1923 arg0, int arg1)
needsBlending(ChunkPos chunkPos, int checkRadius)
public CompoundTag
a(aku<dgj> arg0, Supplier<eva> arg1, tq arg2, Optional<aku<com.mojang.serialization.MapCodec<? extends dyu>>> arg3)
upgradeChunkTag(ResourceKey<Level> arg0, Supplier<DimensionDataStorage> arg1, CompoundTag arg2, Optional<ResourceKey<com.mojang.serialization.MapCodec<? extends ChunkGenerator>>> arg3)
method_17907(class_5321<class_1937> arg0, Supplier<class_26> arg1, class_2487 arg2, Optional<class_5321<com.mojang.serialization.MapCodec<? extends class_2794>>> arg3)
updateChunkNbt(RegistryKey<World> worldKey, Supplier<PersistentStateManager> persistentStateManagerFactory, NbtCompound nbt, Optional<RegistryKey<com.mojang.serialization.MapCodec<? extends ChunkGenerator>>> generatorCodecKey)
private LegacyStructureDataHandler
a(aku<dgj> arg0, Supplier<eva> arg1)
getLegacyStructureHandler(ResourceKey<Level> arg0, Supplier<DimensionDataStorage> arg1)
method_43411(class_5321<class_1937> arg0, Supplier<class_26> arg1)
getFeatureUpdater(RegistryKey<World> worldKey, Supplier<PersistentStateManager> stateManagerGetter)
public static void
a(tq arg0, aku<dgj> arg1, Optional<aku<com.mojang.serialization.MapCodec<? extends dyu>>> arg2)
injectDatafixingContext(CompoundTag arg0, ResourceKey<Level> arg1, Optional<ResourceKey<com.mojang.serialization.MapCodec<? extends ChunkGenerator>>> arg2)
method_39799(class_2487 arg0, class_5321<class_1937> arg1, Optional<class_5321<com.mojang.serialization.MapCodec<? extends class_2794>>> arg2)
saveContextToNbt(NbtCompound nbt, RegistryKey<World> worldKey, Optional<RegistryKey<com.mojang.serialization.MapCodec<? extends ChunkGenerator>>> generatorCodecKey)
private static void
b(tq arg0)
removeDatafixingContext(CompoundTag arg0)
method_60626(class_2487 arg0)
removeContext(NbtCompound nbt)
public static int
a(tq arg0)
getVersion(CompoundTag arg0)
method_17908(class_2487 arg0)
getDataVersion(NbtCompound nbt)
public CompletableFuture<Optional<CompoundTag>>
d(dfp arg0)
read(ChunkPos arg0)
method_23696(class_1923 arg0)
getNbt(ChunkPos chunkPos)
public CompletableFuture<Void>
a(dfp arg0, Supplier<tq> arg1)
write(ChunkPos arg0, Supplier<CompoundTag> arg1)
method_17910(class_1923 arg0, Supplier<class_2487> arg1)
setNbt(ChunkPos chunkPos, Supplier<NbtCompound> nbtSupplier)
protected void
e(dfp arg0)
handleLegacyStructureIndex(ChunkPos arg0)
method_56564(class_1923 arg0)
markFeatureUpdateResolved(ChunkPos chunkPos)
public void
o()
flushWorker()
method_23697()
completeAll()
public void
close()
close()
public ChunkScanAccess
p()
chunkScanner()
method_39800()
getWorker()
protected RegionStorageInfo
q()
storageInfo()
method_60999()
getStorageKey()