net.minecraft.world.level.chunk.storage

public final class RegionFileStorage

implements AutoCloseable

cnp
net.minecraft.world.level.chunk.storage.RegionFileStorage
net.minecraft.class_2867
net.minecraft.unmapped.C_ivfseflh
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
field_31425
f_156615_
private static final int
b
MAX_CACHE_SIZE
field_31426
f_nhcfkltd
field_31426
f_156616_
private final it.unimi.dsi.fastutil.longs.Long2ObjectLinkedOpenHashMap<RegionFile>
c
regionCache
field_17657
f_jgdpjail
cachedRegionFiles
f_63699_
private final File
d
folder
field_18690
f_armdwyzd
directory
f_63700_
private final boolean
e
sync
field_23748
f_invmzcmk
dsync
f_63701_

Constructor summary

ModifierConstructor
(File directory, boolean dsync)

Method summary

Modifier and TypeMethod
private RegionFile
b(bvu arg0)
getRegionFile(ChunkPos arg0)
method_12440(class_1923 arg0)
m_xvhhgahu(C_ynrszrtu arg0)
getRegionFile(ChunkPos pos)
m_63711_(C_1560_ arg0)
getFile(ChunkCoordIntPair arg0)
public CompoundTag
a(bvu arg0)
read(ChunkPos arg0)
method_17911(class_1923 arg0)
m_wxfxclng(C_ynrszrtu arg0)
getTagAt(ChunkPos pos)
m_63706_(C_1560_ arg0)
read(ChunkCoordIntPair arg0)
protected void
a(bvu arg0, na 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)
m_63708_(C_1560_ p_63710_, C_4917_ arg1)
write(ChunkCoordIntPair arg0, NBTTagCompound arg1)
public void
close()
close()
close()
public void
a()
flush()
method_26982()
m_idspysvm()
sync()
m_63705_()