net.minecraft.world.level.chunk.storage

public class ChunkStorage

implements AutoCloseable

dbq
net.minecraft.world.level.chunk.storage.ChunkStorage
net.minecraft.class_3977
net.minecraft.world.storage.VersionedChunkStorage
net.minecraft.src.C_2159_
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
f_196910_
private final IOWorker
a
worker
field_21494
worker
f_63495_
protected final com.mojang.datafixers.DataFixer
e
fixerUpper
field_17655
dataFixer
f_63496_
private volatile LegacyStructureDataHandler
b
legacyStructureHandler
field_17654
featureUpdater
f_63497_

Constructor summary

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

Method summary

Modifier and TypeMethod
public boolean
a(cjd arg0, int arg1)
isOldChunkAround(ChunkPos arg0, int arg1)
method_42328(class_1923 arg0, int arg1)
needsBlending(ChunkPos chunkPos, int checkRadius)
m_223451_(C_1560_ p_223453_, int arg1)
public CompoundTag
a(ace<cjw> arg0, Supplier<dva> arg1, qp arg2, Optional<ace<com.mojang.serialization.Codec<? extends daq>>> arg3)
upgradeChunkTag(ResourceKey<Level> arg0, Supplier<DimensionDataStorage> arg1, CompoundTag arg2, Optional<ResourceKey<com.mojang.serialization.Codec<? extends ChunkGenerator>>> arg3)
method_17907(class_5321<class_1937> arg0, Supplier<class_26> arg1, class_2487 arg2, Optional<class_5321<com.mojang.serialization.Codec<? extends class_2794>>> arg3)
updateChunkNbt(RegistryKey<World> worldKey, Supplier<PersistentStateManager> persistentStateManagerFactory, NbtCompound nbt, Optional<RegistryKey<com.mojang.serialization.Codec<? extends ChunkGenerator>>> generatorCodecKey)
m_188288_(C_5264_<C_1596_> p_188290_, Supplier<C_2781_> p_188291_, C_4917_ p_188292_, Optional<C_5264_<com.mojang.serialization.Codec<? extends C_2118_>>> arg3)
private LegacyStructureDataHandler
a(ace<cjw> arg0, Supplier<dva> 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)
m_223448_(C_5264_<C_1596_> p_223450_, Supplier<C_2781_> arg1)
public static void
a(qp arg0, ace<cjw> arg1, Optional<ace<com.mojang.serialization.Codec<? extends daq>>> arg2)
injectDatafixingContext(CompoundTag arg0, ResourceKey<Level> arg1, Optional<ResourceKey<com.mojang.serialization.Codec<? extends ChunkGenerator>>> arg2)
method_39799(class_2487 arg0, class_5321<class_1937> arg1, Optional<class_5321<com.mojang.serialization.Codec<? extends class_2794>>> arg2)
saveContextToNbt(NbtCompound nbt, RegistryKey<World> worldKey, Optional<RegistryKey<com.mojang.serialization.Codec<? extends ChunkGenerator>>> generatorCodecKey)
m_196918_(C_4917_ p_196919_, C_5264_<C_1596_> p_196920_, Optional<C_5264_<com.mojang.serialization.Codec<? extends C_2118_>>> p_196921_)
public static int
a(qp arg0)
getVersion(CompoundTag arg0)
method_17908(class_2487 arg0)
getDataVersion(NbtCompound nbt)
m_63505_(C_4917_ p_63506_)
public CompletableFuture<Optional<CompoundTag>>
f(cjd arg0)
read(ChunkPos arg0)
method_23696(class_1923 arg0)
getNbt(ChunkPos chunkPos)
m_223454_(C_1560_ arg0)
public void
a(cjd arg0, qp arg1)
write(ChunkPos arg0, CompoundTag arg1)
method_17910(class_1923 arg0, class_2487 arg1)
setNbt(ChunkPos chunkPos, NbtCompound nbt)
m_63502_(C_1560_ p_63504_, C_4917_ arg1)
public void
o()
flushWorker()
method_23697()
completeAll()
m_63514_()
public void
close()
close()
close()
public ChunkScanAccess
p()
chunkScanner()
method_39800()
getWorker()
m_196922_()