net.minecraft.world.level.chunk.storage

public class ChunkStorage

implements AutoCloseable

eba
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(dgo arg0, int arg1)
isOldChunkAround(ChunkPos arg0, int arg1)
method_42328(class_1923 arg0, int arg1)
needsBlending(ChunkPos chunkPos, int checkRadius)
public CompoundTag
a(aly<dhi> arg0, Supplier<evx> arg1, ux arg2, Optional<aly<com.mojang.serialization.MapCodec<? extends dzr>>> 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(aly<dhi> arg0, Supplier<evx> 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(ux arg0, aly<dhi> arg1, Optional<aly<com.mojang.serialization.MapCodec<? extends dzr>>> 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(ux arg0)
removeDatafixingContext(CompoundTag arg0)
method_60626(class_2487 arg0)
removeContext(NbtCompound nbt)
public static int
a(ux arg0)
getVersion(CompoundTag arg0)
method_17908(class_2487 arg0)
getDataVersion(NbtCompound nbt)
public CompletableFuture<Optional<CompoundTag>>
d(dgo arg0)
read(ChunkPos arg0)
method_23696(class_1923 arg0)
getNbt(ChunkPos chunkPos)
public CompletableFuture<Void>
a(dgo arg0, Supplier<ux> 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(dgo 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()