net.minecraft.world.level.chunk.storage

public class RegionFile

implements AutoCloseable

byi
net.minecraft.world.level.chunk.storage.RegionFile
net.minecraft.class_2861
net.minecraft.world.storage.RegionFile
net.minecraft.world.chunk.storage.RegionFile
net.minecraft.server.v1_14_R1.RegionFile

Field summary

Modifier and TypeField
private static final byte[]
a
EMPTY_SECTOR
field_13031
EMPTY_SECTOR
field_76720_a
private final RandomAccessFile
b
file
field_13025
file
field_76719_c
private final int[]
c
offsets
field_13029
offsets
field_76716_d
private final int[]
d
chunkTimestamps
field_13026
chunkTimestamps
field_76717_e
private final List<Boolean>
e
sectorFree
field_13030
sectorFree
field_76714_f

Constructor summary

ModifierConstructor
public (File arg0)

Method summary

Modifier and TypeMethod
public synchronized DataInputStream
a(bhd arg0)
getChunkDataInputStream(ChunkPos arg0)
method_12421(class_1923 arg0)
getChunkDataInputStream(ChunkPos pos)
func_222666_a(ChunkPos arg0)
public boolean
b(bhd arg0)
doesChunkExist(ChunkPos arg0)
method_12420(class_1923 arg0)
isChunkPresent(ChunkPos pos)
func_222662_b(ChunkPos arg0)
public DataOutputStream
c(bhd arg0)
getChunkDataOutputStream(ChunkPos arg0)
method_12425(class_1923 arg0)
getChunkDataOutputStream(ChunkPos arg0)
func_222661_c(ChunkPos arg0)
protected synchronized void
a(bhd arg0, byte[] arg1, int arg2)
write(ChunkPos arg0, byte[] arg1, int arg2)
method_12428(class_1923 arg0, byte[] arg1, int arg2)
write(ChunkPos arg0, byte[] arg1, int arg2)
func_222664_a(ChunkPos arg0, byte[] arg1, int arg2)
private void
a(int arg0, byte[] arg1, int arg2)
write(int arg0, byte[] arg1, int arg2)
method_12424(int arg0, byte[] arg1, int arg2)
write(int sectorNumber, byte[] data, int arg2)
func_76712_a(int arg0, byte[] arg1, int arg2)
private int
e(bhd arg0)
getOffset(ChunkPos arg0)
method_12419(class_1923 arg0)
getSectorData(ChunkPos pos)
func_222660_e(ChunkPos arg0)
getOffset(ChunkCoordIntPair arg0)
public boolean
d(bhd arg0)
hasChunk(ChunkPos arg0)
method_12423(class_1923 arg0)
hasChunk(ChunkPos pos)
func_222667_d(ChunkPos arg0)
private void
a(bhd arg0, int arg1)
setOffset(ChunkPos arg0, int arg1)
method_12422(class_1923 arg0, int arg1)
setOffset(ChunkPos arg0, int arg1)
func_222663_a(ChunkPos arg0, int arg1)
private int
f(bhd arg0)
getOffsetIndex(ChunkPos arg0)
method_17909(class_1923 arg0)
getIndex(ChunkPos pos)
func_222668_f(ChunkPos arg0)
private void
b(bhd arg0, int arg1)
setTimestamp(ChunkPos arg0, int arg1)
method_12427(class_1923 arg0, int arg1)
setTimestamp(ChunkPos arg0, int arg1)
func_222665_b(ChunkPos arg0, int arg1)
public void
close()
close()
close()
close()
close()