net.minecraft.world.level.chunk.storage

public class RegionFileVersion

cxs
net.minecraft.world.level.chunk.storage.RegionFileVersion
net.minecraft.class_4486
net.minecraft.world.storage.ChunkStreamVersion
net.minecraft.src.C_2172_
net.minecraft.world.level.chunk.storage.RegionFileCompression

Field summary

Modifier and TypeField
private static final it.unimi.dsi.fastutil.ints.Int2ObjectMap<RegionFileVersion>
d
VERSIONS
field_20445
VERSIONS
f_63746_
public static final RegionFileVersion
a
VERSION_GZIP
field_20442
GZIP
f_63743_
public static final RegionFileVersion
b
VERSION_DEFLATE
field_20443
DEFLATE
f_63744_
public static final RegionFileVersion
c
VERSION_NONE
field_20444
UNCOMPRESSED
f_63745_
private final int
e
id
field_20446
id
f_63747_
private final RegionFileVersion$StreamWrapper<InputStream>
f
inputWrapper
field_20447
inputStreamWrapper
f_63748_
private final RegionFileVersion$StreamWrapper<OutputStream>
g
outputWrapper
field_20448
outputStreamWrapper
f_63749_

Constructor summary

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

Method summary

Modifier and TypeMethod
private static RegionFileVersion
a(cxs arg0)
register(RegionFileVersion arg0)
method_21884(class_4486 arg0)
add(ChunkStreamVersion version)
m_63758_(C_2172_ p_63759_)
public static RegionFileVersion
a(int arg0)
fromId(int arg0)
method_21883(int arg0)
get(int id)
m_63756_(int p_63757_)
public static boolean
b(int arg0)
isValidVersion(int arg0)
method_21887(int arg0)
exists(int id)
m_63764_(int p_63765_)
public int
a()
getId()
method_21882()
getId()
m_63755_()
public OutputStream
a(OutputStream arg0)
wrap(OutputStream arg0)
method_21886(OutputStream arg0)
wrap(OutputStream outputStream)
m_63762_(OutputStream arg0)
public InputStream
a(InputStream arg0)
wrap(InputStream arg0)
method_21885(InputStream arg0)
wrap(InputStream inputStream)
m_63760_(InputStream arg0)