net.minecraft.world.level.chunk.storage

public final class RegionFileStorage

implements AutoCloseable

ebh
net.minecraft.world.level.chunk.storage.RegionFileStorage
net.minecraft.class_2867
net.minecraft.world.storage.RegionBasedStorage
net.minecraft.world.level.chunk.storage.RegionFileCache

Field summary

Modifier and TypeField
public static final String
a
ANVIL_EXTENSION
field_31425
MCA_EXTENSION
private static final int
b
MAX_CACHE_SIZE
field_31426
MAX_CACHE_SIZE
private final it.unimi.dsi.fastutil.longs.Long2ObjectLinkedOpenHashMap<RegionFile>
c
regionCache
field_17657
cachedRegionFiles
private final RegionStorageInfo
d
info
field_49103
storageKey
private final Path
e
folder
field_18690
directory
private final boolean
f
sync
field_23748
dsync

Constructor summary

ModifierConstructor
(RegionStorageInfo storageKey, Path directory, boolean dsync)

Method summary

Modifier and TypeMethod
private RegionFile
b(dgo arg0)
getRegionFile(ChunkPos arg0)
method_12440(class_1923 arg0)
getRegionFile(ChunkPos pos)
public CompoundTag
a(dgo arg0)
read(ChunkPos arg0)
method_17911(class_1923 arg0)
getTagAt(ChunkPos pos)
public void
a(dgo arg0, vr arg1)
scanChunk(ChunkPos arg0, StreamTagVisitor arg1)
method_39802(class_1923 arg0, class_6836 arg1)
scanChunk(ChunkPos chunkPos, NbtScanner scanner)
protected void
a(dgo arg0, ux arg1)
write(ChunkPos arg0, CompoundTag arg1)
method_23726(class_1923 arg0, class_2487 arg1)
write(ChunkPos pos, NbtCompound nbt)
public void
close()
close()
public void
a()
flush()
method_26982()
sync()
public RegionStorageInfo
b()
info()
method_61005()
getStorageKey()