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.unmapped.C_ivfseflh
net.minecraft.world.storage.RegionBasedStorage
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
f_mvdnxmgn
MCA_EXTENSION
MCA_EXTENSION
f_156615_
private static final int
b
MAX_CACHE_SIZE
field_31426
f_nhcfkltd
MAX_CACHE_SIZE
MAX_CACHE_SIZE
f_156616_
private final it.unimi.dsi.fastutil.longs.Long2ObjectLinkedOpenHashMap<RegionFile>
c
regionCache
field_17657
f_jgdpjail
cachedRegionFiles
cachedRegionFiles
f_63699_
private final Path
d
folder
field_18690
f_armdwyzd
directory
directory
f_63700_
private final boolean
e
sync
field_23748
f_invmzcmk
dsync
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)
m_xvhhgahu(C_ynrszrtu arg0)
getRegionFile(ChunkPos pos)
getRegionFile(ChunkPos pos)
m_63711_(C_1560_ arg0)
public CompoundTag
a(csw arg0)
read(ChunkPos arg0)
method_17911(class_1923 arg0)
m_wxfxclng(C_ynrszrtu arg0)
getTagAt(ChunkPos pos)
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)
m_usqmjldo(C_ynrszrtu arg0, C_avcaqucb arg1)
scanChunk(ChunkPos chunkPos, NbtScanner scanner)
scanChunk(ChunkPos pos, 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)
m_dnmvtmdg(C_ynrszrtu arg0, C_hhlwcnih arg1)
write(ChunkPos pos, NbtCompound nbt)
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()
m_idspysvm()
sync()
sync()
m_63705_()