net.minecraft.world.level.chunk.storage

public final class RegionFileStorage

implements AutoCloseable

cnq
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
field_31425
f_156615_
private static final int
b
MAX_CACHE_SIZE
field_31426
field_31426
f_156616_
private final it.unimi.dsi.fastutil.longs.Long2ObjectLinkedOpenHashMap<RegionFile>
c
regionCache
field_17657
cachedRegionFiles
f_63699_
private final File
d
folder
field_18690
directory
f_63700_
private final boolean
e
sync
field_23748
dsync
f_63701_

Constructor summary

ModifierConstructor
(File directory, boolean dsync)

Method summary

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