net.minecraft.world.level.chunk.storage

public class RegionFileVersion

eal
net.minecraft.world.level.chunk.storage.RegionFileVersion
net.minecraft.class_4486
net.minecraft.world.storage.ChunkCompressionFormat
net.minecraft.world.level.chunk.storage.RegionFileCompression

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
g
LOGGER
field_48755
LOGGER
private static final it.unimi.dsi.fastutil.ints.Int2ObjectMap<RegionFileVersion>
h
VERSIONS
field_20445
FORMATS
private static final it.unimi.dsi.fastutil.objects.Object2ObjectMap<String, RegionFileVersion>
i
VERSIONS_BY_NAME
field_48756
FORMAT_BY_NAME
public static final RegionFileVersion
a
VERSION_GZIP
field_20442
GZIP
public static final RegionFileVersion
b
VERSION_DEFLATE
field_20443
DEFLATE
public static final RegionFileVersion
c
VERSION_NONE
field_20444
UNCOMPRESSED
public static final RegionFileVersion
d
VERSION_LZ4
field_48753
LZ4
public static final RegionFileVersion
e
VERSION_CUSTOM
field_48916
CUSTOM
public static final RegionFileVersion
f
DEFAULT
field_48754
DEFAULT_FORMAT
private static volatile RegionFileVersion
j
selected
field_48757
currentFormat
private final int
k
id
field_20446
id
private final String
l
optionName
field_48758
name
private final RegionFileVersion$StreamWrapper<InputStream>
m
inputWrapper
field_20447
inputStreamWrapper
private final RegionFileVersion$StreamWrapper<OutputStream>
n
outputWrapper
field_20448
outputStreamWrapper

Constructor summary

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

Method summary

Modifier and TypeMethod
private static RegionFileVersion
a(eal arg0)
register(RegionFileVersion arg0)
method_21884(class_4486 arg0)
add(ChunkCompressionFormat version)
public static RegionFileVersion
a(int arg0)
fromId(int arg0)
method_21883(int arg0)
get(int id)
public static void
a(String arg0)
configure(String arg0)
method_56568(String arg0)
setCurrentFormat(String name)
public static RegionFileVersion
a()
getSelected()
method_56567()
getCurrentFormat()
public static boolean
b(int arg0)
isValidVersion(int arg0)
method_21887(int arg0)
exists(int id)
public int
b()
getId()
method_21882()
getId()
public OutputStream
a(OutputStream arg0)
wrap(OutputStream arg0)
method_21886(OutputStream arg0)
wrap(OutputStream outputStream)
public InputStream
a(InputStream arg0)
wrap(InputStream arg0)
method_21885(InputStream arg0)
wrap(InputStream inputStream)