net.minecraft.world.level.chunk.storage

public class RegionFile

implements AutoCloseable

cbc
net.minecraft.world.level.chunk.storage.RegionFile
net.minecraft.class_2861
net.minecraft.unmapped.C_kykyawqb
net.minecraft.world.storage.RegionFile
net.minecraft.world.chunk.storage.RegionFile
net.minecraft.server.v1_15_R1.RegionFile

Field summary

Modifier and TypeField
private static final org.apache.logging.log4j.Logger
a
LOGGER
field_20434
f_mvitofjf
LOGGER
field_227122_a_
private static final ByteBuffer
b
PADDING_BUFFER
field_20435
f_mmilontz
ZERO
field_227123_b_
private final FileChannel
c
file
field_20436
f_ramzmnqn
channel
field_76719_c
dataFile
private final Path
d
externalFileDir
field_20657
f_bagqqhlx
directory
field_227124_d_
private final RegionFileVersion
e
version
field_20437
f_xggxxmgb
outputChunkStreamVersion
field_227125_e_
private final ByteBuffer
f
header
field_20438
f_qpqrfiqu
header
field_227126_f_
private final IntBuffer
g
offsets
field_20439
f_sidnvqle
sectorData
field_76716_d
private final IntBuffer
h
timestamps
field_20440
f_becwjrwf
saveTimes
field_227127_h_
private final RegionBitmap
i
usedSectors
field_20441
f_ewdhvwdr
sectors
field_227128_i_
freeSectors

Constructor summary

ModifierConstructor
public (File file, File directory)
public (Path file, Path directory, RegionFileVersion arg2)

Method summary

Modifier and TypeMethod
private Path
e(bjh arg0)
getExternalChunkPath(ChunkPos arg0)
method_22413(class_1923 arg0)
m_isyqnhjt(C_ynrszrtu arg0)
getExternalChunkPath(ChunkPos arg0)
func_227145_e_(ChunkPos arg0)
public synchronized DataInputStream
a(bjh arg0)
getChunkDataInputStream(ChunkPos arg0)
method_21873(class_1923 arg0)
m_jsumbmbn(C_ynrszrtu arg0)
getChunkInputStream(ChunkPos pos)
func_222666_a(ChunkPos arg0)
private static boolean
a(byte arg0)
isExternalStreamChunk(byte arg0)
method_22407(byte arg0)
m_oodaxowl(byte arg0)
hasChunkStreamVersionId(byte arg0)
func_227130_a_(byte arg0)
private static byte
b(byte arg0)
getExternalChunkVersion(byte arg0)
method_22412(byte arg0)
m_nmxbyxnr(byte arg0)
getChunkStreamVersionId(byte arg0)
func_227141_b_(byte arg0)
private DataInputStream
a(bjh arg0, byte arg1, InputStream arg2)
createChunkInputStream(ChunkPos arg0, byte arg1, InputStream arg2)
method_22409(class_1923 arg0, byte arg1, InputStream arg2)
m_lyzbhxyo(C_ynrszrtu arg0, byte arg1, InputStream arg2)
func_227134_a_(ChunkPos arg0, byte arg1, InputStream arg2)
private DataInputStream
a(bjh arg0, byte arg1)
createExternalChunkInputStream(ChunkPos arg0, byte arg1)
method_22408(class_1923 arg0, byte arg1)
m_naxlpaqf(C_ynrszrtu arg0, byte arg1)
func_227133_a_(ChunkPos arg0, byte arg1)
private static ByteArrayInputStream
a(ByteBuffer arg0, int arg1)
createStream(ByteBuffer arg0, int arg1)
method_21876(ByteBuffer arg0, int arg1)
m_bmulfhup(ByteBuffer arg0, int arg1)
getInputStream(ByteBuffer buffer, int length)
func_227137_a_(ByteBuffer arg0, int arg1)
private int
a(int arg0, int arg1)
packSectorOffset(int arg0, int arg1)
method_21872(int arg0, int arg1)
m_owsezyim(int arg0, int arg1)
packSectorData(int offset, int size)
func_227132_a_(int arg0, int arg1)
private static int
a(int arg0)
getNumSectors(int arg0)
method_21871(int arg0)
m_hsrwnhct(int arg0)
getSize(int sectorData)
func_227131_a_(int arg0)
private static int
b(int arg0)
getSectorNumber(int arg0)
method_21878(int arg0)
m_yzorumxc(int arg0)
getOffset(int sectorData)
func_227142_b_(int arg0)
private static int
c(int arg0)
sizeToSectors(int arg0)
method_21880(int arg0)
m_cdfttreh(int arg0)
getSectorCount(int byteCount)
func_227144_c_(int arg0)
public boolean
b(bjh arg0)
doesChunkExist(ChunkPos arg0)
method_21879(class_1923 arg0)
m_tavymlvz(C_ynrszrtu arg0)
isChunkValid(ChunkPos pos)
func_222662_b(ChunkPos arg0)
public DataOutputStream
c(bjh arg0)
getChunkDataOutputStream(ChunkPos arg0)
method_21881(class_1923 arg0)
m_dzgvhamh(C_ynrszrtu arg0)
getChunkOutputStream(ChunkPos pos)
func_222661_c(ChunkPos arg0)
protected synchronized void
a(bjh arg0, ByteBuffer arg1)
write(ChunkPos arg0, ByteBuffer arg1)
method_21874(class_1923 arg0, ByteBuffer arg1)
m_obaxgaxq(C_ynrszrtu arg0, ByteBuffer arg1)
writeChunk(ChunkPos pos, ByteBuffer arg1)
func_227135_a_(ChunkPos arg0, ByteBuffer arg1)
private ByteBuffer
a()
createExternalStub()
method_22406()
m_fnnafhpi()
func_227129_a_()
private RegionFile$CommitOp
a(Path arg0, ByteBuffer arg1)
writeToExternalFile(Path arg0, ByteBuffer arg1)
method_22410(Path arg0, ByteBuffer arg1)
m_bsyvgedc(Path arg0, ByteBuffer arg1)
writeSafely(Path arg0, ByteBuffer arg1)
func_227138_a_(Path arg0, ByteBuffer arg1)
private void
b()
writeHeader()
method_21870()
m_mzwibicr()
writeHeader()
func_227140_b_()
private int
f(bjh arg0)
getOffset(ChunkPos arg0)
method_12419(class_1923 arg0)
m_abzgfeji(C_ynrszrtu arg0)
getSectorData(ChunkPos pos)
func_222660_e(ChunkPos arg0)
getOffset(ChunkCoordIntPair arg0)
public boolean
d(bjh arg0)
hasChunk(ChunkPos arg0)
method_12423(class_1923 arg0)
m_gcsotahz(C_ynrszrtu arg0)
hasChunk(ChunkPos pos)
func_222667_d(ChunkPos arg0)
chunkExists(ChunkCoordIntPair arg0)
private static int
g(bjh arg0)
getOffsetIndex(ChunkPos arg0)
method_17909(class_1923 arg0)
m_cnrtwxio(C_ynrszrtu arg0)
getIndex(ChunkPos pos)
func_222668_f(ChunkPos arg0)
public void
close()
close()
close()
close()
close()
private void
c()
padToFullSector()
method_21877()
m_yxcvwlus()
fillLastSector()
func_227143_c_()