net.minecraft.world.level.chunk.storage

public class RegionFileVersion

cgx
net.minecraft.world.level.chunk.storage.RegionFileVersion
net.minecraft.class_4486
net.minecraft.world.storage.ChunkStreamVersion
net.minecraft.world.chunk.storage.RegionFileVersion
net.minecraft.server.v1_16_R2.RegionFileCompression

Field summary

Modifier and TypeField
private static final it.unimi.dsi.fastutil.ints.Int2ObjectMap<RegionFileVersion>
d
VERSIONS
field_20445
VERSIONS
field_227161_d_
public static final RegionFileVersion
a
VERSION_GZIP
field_20442
GZIP
field_227158_a_
public static final RegionFileVersion
b
VERSION_DEFLATE
field_20443
DEFLATE
field_227159_b_
public static final RegionFileVersion
c
VERSION_NONE
field_20444
UNCOMPRESSED
field_227160_c_
private final int
e
id
field_20446
id
field_227162_e_
private final RegionFileVersion$StreamWrapper<InputStream>
f
inputWrapper
field_20447
inputStreamWrapper
field_227163_f_
private final RegionFileVersion$StreamWrapper<OutputStream>
g
outputWrapper
field_20448
outputStreamWrapper
field_227164_g_

Constructor summary

ModifierConstructor
private (int id, RegionFileVersion$StreamWrapper<InputStream> inputStreamWrapper, RegionFileVersion$StreamWrapper<OutputStream> outputStreamWrapper)

Method summary

Modifier and TypeMethod
private static RegionFileVersion
a(cgx arg0)
register(RegionFileVersion arg0)
method_21884(class_4486 arg0)
add(ChunkStreamVersion version)
func_227167_a_(RegionFileVersion arg0)
public static RegionFileVersion
a(int arg0)
fromId(int arg0)
method_21883(int arg0)
get(int id)
func_227166_a_(int arg0)
public static boolean
b(int arg0)
isValidVersion(int arg0)
method_21887(int arg0)
exists(int id)
func_227170_b_(int arg0)
public int
a()
getId()
method_21882()
getId()
func_227165_a_()
public OutputStream
a(OutputStream arg0)
wrap(OutputStream arg0)
method_21886(OutputStream arg0)
wrap(OutputStream outputStream)
func_227169_a_(OutputStream arg0)
public InputStream
a(InputStream arg0)
wrap(InputStream arg0)
method_21885(InputStream arg0)
wrap(InputStream inputStream)
func_227168_a_(InputStream arg0)