net.minecraft.world.level.chunk.storage

public class ChunkStorage

implements AutoCloseable

dvh
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 (RegionStorageInfo storageKey, Path directory, com.mojang.datafixers.DataFixer dataFixer, boolean dsync)

Method summary

Modifier and TypeMethod
public boolean
b(dbh 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(ale<dca> arg0, Supplier<eps> arg1, us arg2, Optional<ale<com.mojang.serialization.MapCodec<? extends dub>>> 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)
m_188288_(C_5264_<C_1596_> p_188290_, Supplier<C_2781_> p_188291_, C_4917_ p_188292_, Optional<C_5264_<com.mojang.serialization.MapCodec<? extends C_2118_>>> arg3)
private LegacyStructureDataHandler
a(ale<dca> arg0, Supplier<eps> 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(us arg0, ale<dca> arg1, Optional<ale<com.mojang.serialization.MapCodec<? extends dub>>> 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)
m_196918_(C_4917_ p_196919_, C_5264_<C_1596_> p_196920_, Optional<C_5264_<com.mojang.serialization.MapCodec<? extends C_2118_>>> p_196921_)
public static int
a(us arg0)
getVersion(CompoundTag arg0)
method_17908(class_2487 arg0)
getDataVersion(NbtCompound nbt)
m_63505_(C_4917_ p_63506_)
public CompletableFuture<Optional<CompoundTag>>
e(dbh arg0)
read(ChunkPos arg0)
method_23696(class_1923 arg0)
getNbt(ChunkPos chunkPos)
m_223454_(C_1560_ arg0)
public CompletableFuture<Void>
a(dbh arg0, us 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)
protected void
f(dbh arg0)
handleLegacyStructureIndex(ChunkPos arg0)
method_56564(class_1923 arg0)
markFeatureUpdateResolved(ChunkPos chunkPos)
m_320556_(C_1560_ arg0)
public void
o()
flushWorker()
method_23697()
completeAll()
m_63514_()
public void
close()
close()
close()
public ChunkScanAccess
p()
chunkScanner()
method_39800()
getWorker()
m_196922_()