net.minecraft.world.level.chunk.storage

public final class RegionFileStorage

implements AutoCloseable

dmk
net.minecraft.world.level.chunk.storage.RegionFileStorage
net.minecraft.class_2867
net.minecraft.world.storage.RegionBasedStorage
net.minecraft.src.C_2169_
net.minecraft.world.level.chunk.storage.RegionFileCache

Field summary

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

Constructor summary

ModifierConstructor
(Path directory, boolean dsync)

Method summary

Modifier and TypeMethod
private RegionFile
b(csw arg0)
getRegionFile(ChunkPos arg0)
method_12440(class_1923 arg0)
getRegionFile(ChunkPos pos)
m_63711_(C_1560_ arg0)
public CompoundTag
a(csw arg0)
read(ChunkPos arg0)
method_17911(class_1923 arg0)
getTagAt(ChunkPos pos)
m_63706_(C_1560_ arg0)
public void
a(csw arg0, th arg1)
scanChunk(ChunkPos arg0, StreamTagVisitor arg1)
method_39802(class_1923 arg0, class_6836 arg1)
scanChunk(ChunkPos chunkPos, NbtScanner scanner)
m_196956_(C_1560_ p_196958_, C_196121_ arg1)
protected void
a(csw arg0, sn arg1)
write(ChunkPos arg0, CompoundTag arg1)
method_23726(class_1923 arg0, class_2487 arg1)
write(ChunkPos pos, NbtCompound nbt)
m_63708_(C_1560_ p_63710_, C_4917_ arg1)
public void
close()
close()
close()
public void
a()
flush()
method_26982()
sync()
m_63705_()