net.minecraft.world.level.chunk.storage

public final class RegionFileStorage

implements AutoCloseable

cib
net.minecraft.world.level.chunk.storage.RegionFileStorage
net.minecraft.class_2867
net.minecraft.world.storage.RegionBasedStorage
net.minecraft.world.chunk.storage.RegionFileCache
net.minecraft.server.v1_16_R1.RegionFileCache

Field summary

Modifier and TypeField
private final it.unimi.dsi.fastutil.longs.Long2ObjectLinkedOpenHashMap<RegionFile>
a
regionCache
field_17657
cachedRegionFiles
field_219102_c
cache
private final File
b
folder
field_18690
directory
field_219101_a
private final boolean
c
sync
field_23748
dsync
field_235986_c_

Constructor summary

ModifierConstructor
(File directory, boolean dsync)

Method summary

Modifier and TypeMethod
private RegionFile
b(bph arg0)
getRegionFile(ChunkPos arg0)
method_12440(class_1923 arg0)
getRegionFile(ChunkPos pos)
func_219098_a(ChunkPos arg0)
getFile(ChunkCoordIntPair arg0)
public CompoundTag
a(bph arg0)
read(ChunkPos arg0)
method_17911(class_1923 arg0)
getTagAt(ChunkPos pos)
func_219099_e(ChunkPos arg0)
read(ChunkCoordIntPair arg0)
protected void
a(bph arg0, le arg1)
write(ChunkPos arg0, CompoundTag arg1)
method_23726(class_1923 arg0, class_2487 arg1)
write(ChunkPos pos, CompoundTag tag)
func_219100_a(ChunkPos arg0, CompoundNBT arg1)
write(ChunkCoordIntPair arg0, NBTTagCompound arg1)
public void
close()
close()
close()
close()
close()
public void
a()
flush()
method_26982()
method_26982()
func_235987_a_()