Package net.minecraft.world.storage
Class ChunkCompressionFormat
java.lang.Object
net.minecraft.world.storage.ChunkCompressionFormat
- Mappings:
Namespace Name named net/minecraft/world/storage/ChunkCompressionFormat
intermediary net/minecraft/class_4486
official ebh
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate static ChunkCompressionFormat
static final ChunkCompressionFormat
static final ChunkCompressionFormat
static final ChunkCompressionFormat
private static final Object2ObjectMap
<String, ChunkCompressionFormat> private static final Int2ObjectMap
<ChunkCompressionFormat> static final ChunkCompressionFormat
private final int
private final ChunkCompressionFormat.Wrapper
<InputStream> private static final Logger
static final ChunkCompressionFormat
private final ChunkCompressionFormat.Wrapper
<OutputStream> static final ChunkCompressionFormat
-
Constructor Summary
ModifierConstructorDescriptionprivate
ChunkCompressionFormat
(int id, @Nullable String name, ChunkCompressionFormat.Wrapper<InputStream> inputStreamWrapper, ChunkCompressionFormat.Wrapper<OutputStream> outputStreamWrapper) -
Method Summary
Modifier and TypeMethodDescriptionprivate static ChunkCompressionFormat
add
(ChunkCompressionFormat version) static boolean
exists
(int id) static @Nullable ChunkCompressionFormat
get
(int id) static ChunkCompressionFormat
int
getId()
static void
setCurrentFormat
(String name) wrap
(InputStream inputStream) wrap
(OutputStream outputStream)
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector named LOGGER
Lnet/minecraft/world/storage/ChunkCompressionFormat;LOGGER:Lorg/slf4j/Logger;
intermediary field_48755
Lnet/minecraft/class_4486;field_48755:Lorg/slf4j/Logger;
official g
Lebh;g:Lorg/slf4j/Logger;
-
FORMATS
- Mappings:
Namespace Name Mixin selector named FORMATS
Lnet/minecraft/world/storage/ChunkCompressionFormat;FORMATS:Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;
intermediary field_20445
Lnet/minecraft/class_4486;field_20445:Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;
official h
Lebh;h:Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;
-
FORMAT_BY_NAME
- Mappings:
Namespace Name Mixin selector named FORMAT_BY_NAME
Lnet/minecraft/world/storage/ChunkCompressionFormat;FORMAT_BY_NAME:Lit/unimi/dsi/fastutil/objects/Object2ObjectMap;
intermediary field_48756
Lnet/minecraft/class_4486;field_48756:Lit/unimi/dsi/fastutil/objects/Object2ObjectMap;
official i
Lebh;i:Lit/unimi/dsi/fastutil/objects/Object2ObjectMap;
-
GZIP
- Mappings:
Namespace Name Mixin selector named GZIP
Lnet/minecraft/world/storage/ChunkCompressionFormat;GZIP:Lnet/minecraft/world/storage/ChunkCompressionFormat;
intermediary field_20442
Lnet/minecraft/class_4486;field_20442:Lnet/minecraft/class_4486;
official a
Lebh;a:Lebh;
-
DEFLATE
- Mappings:
Namespace Name Mixin selector named DEFLATE
Lnet/minecraft/world/storage/ChunkCompressionFormat;DEFLATE:Lnet/minecraft/world/storage/ChunkCompressionFormat;
intermediary field_20443
Lnet/minecraft/class_4486;field_20443:Lnet/minecraft/class_4486;
official b
Lebh;b:Lebh;
-
UNCOMPRESSED
- Mappings:
Namespace Name Mixin selector named UNCOMPRESSED
Lnet/minecraft/world/storage/ChunkCompressionFormat;UNCOMPRESSED:Lnet/minecraft/world/storage/ChunkCompressionFormat;
intermediary field_20444
Lnet/minecraft/class_4486;field_20444:Lnet/minecraft/class_4486;
official c
Lebh;c:Lebh;
-
LZ4
- Mappings:
Namespace Name Mixin selector named LZ4
Lnet/minecraft/world/storage/ChunkCompressionFormat;LZ4:Lnet/minecraft/world/storage/ChunkCompressionFormat;
intermediary field_48753
Lnet/minecraft/class_4486;field_48753:Lnet/minecraft/class_4486;
official d
Lebh;d:Lebh;
-
CUSTOM
- Mappings:
Namespace Name Mixin selector named CUSTOM
Lnet/minecraft/world/storage/ChunkCompressionFormat;CUSTOM:Lnet/minecraft/world/storage/ChunkCompressionFormat;
intermediary field_48916
Lnet/minecraft/class_4486;field_48916:Lnet/minecraft/class_4486;
official e
Lebh;e:Lebh;
-
DEFAULT_FORMAT
- Mappings:
Namespace Name Mixin selector named DEFAULT_FORMAT
Lnet/minecraft/world/storage/ChunkCompressionFormat;DEFAULT_FORMAT:Lnet/minecraft/world/storage/ChunkCompressionFormat;
intermediary field_48754
Lnet/minecraft/class_4486;field_48754:Lnet/minecraft/class_4486;
official f
Lebh;f:Lebh;
-
currentFormat
- Mappings:
Namespace Name Mixin selector named currentFormat
Lnet/minecraft/world/storage/ChunkCompressionFormat;currentFormat:Lnet/minecraft/world/storage/ChunkCompressionFormat;
intermediary field_48757
Lnet/minecraft/class_4486;field_48757:Lnet/minecraft/class_4486;
official j
Lebh;j:Lebh;
-
id
private final int id- Mappings:
Namespace Name Mixin selector named id
Lnet/minecraft/world/storage/ChunkCompressionFormat;id:I
intermediary field_20446
Lnet/minecraft/class_4486;field_20446:I
official k
Lebh;k:I
-
name
- Mappings:
Namespace Name Mixin selector named name
Lnet/minecraft/world/storage/ChunkCompressionFormat;name:Ljava/lang/String;
intermediary field_48758
Lnet/minecraft/class_4486;field_48758:Ljava/lang/String;
official l
Lebh;l:Ljava/lang/String;
-
inputStreamWrapper
- Mappings:
Namespace Name Mixin selector named inputStreamWrapper
Lnet/minecraft/world/storage/ChunkCompressionFormat;inputStreamWrapper:Lnet/minecraft/world/storage/ChunkCompressionFormat$Wrapper;
intermediary field_20447
Lnet/minecraft/class_4486;field_20447:Lnet/minecraft/class_4486$class_4487;
official m
Lebh;m:Lebh$a;
-
outputStreamWrapper
- Mappings:
Namespace Name Mixin selector named outputStreamWrapper
Lnet/minecraft/world/storage/ChunkCompressionFormat;outputStreamWrapper:Lnet/minecraft/world/storage/ChunkCompressionFormat$Wrapper;
intermediary field_20448
Lnet/minecraft/class_4486;field_20448:Lnet/minecraft/class_4486$class_4487;
official n
Lebh;n:Lebh$a;
-
-
Constructor Details
-
ChunkCompressionFormat
private ChunkCompressionFormat(int id, @Nullable @Nullable String name, ChunkCompressionFormat.Wrapper<InputStream> inputStreamWrapper, ChunkCompressionFormat.Wrapper<OutputStream> outputStreamWrapper) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/world/storage/ChunkCompressionFormat;<init>(ILjava/lang/String;Lnet/minecraft/world/storage/ChunkCompressionFormat$Wrapper;Lnet/minecraft/world/storage/ChunkCompressionFormat$Wrapper;)V
intermediary <init>
Lnet/minecraft/class_4486;<init>(ILjava/lang/String;Lnet/minecraft/class_4486$class_4487;Lnet/minecraft/class_4486$class_4487;)V
official <init>
Lebh;<init>(ILjava/lang/String;Lebh$a;Lebh$a;)V
-
-
Method Details
-
add
- Mappings:
Namespace Name Mixin selector named add
Lnet/minecraft/world/storage/ChunkCompressionFormat;add(Lnet/minecraft/world/storage/ChunkCompressionFormat;)Lnet/minecraft/world/storage/ChunkCompressionFormat;
intermediary method_21884
Lnet/minecraft/class_4486;method_21884(Lnet/minecraft/class_4486;)Lnet/minecraft/class_4486;
official a
Lebh;a(Lebh;)Lebh;
-
get
- Mappings:
Namespace Name Mixin selector named get
Lnet/minecraft/world/storage/ChunkCompressionFormat;get(I)Lnet/minecraft/world/storage/ChunkCompressionFormat;
intermediary method_21883
Lnet/minecraft/class_4486;method_21883(I)Lnet/minecraft/class_4486;
official a
Lebh;a(I)Lebh;
-
setCurrentFormat
- Mappings:
Namespace Name Mixin selector named setCurrentFormat
Lnet/minecraft/world/storage/ChunkCompressionFormat;setCurrentFormat(Ljava/lang/String;)V
intermediary method_56568
Lnet/minecraft/class_4486;method_56568(Ljava/lang/String;)V
official a
Lebh;a(Ljava/lang/String;)V
-
getCurrentFormat
- Mappings:
Namespace Name Mixin selector named getCurrentFormat
Lnet/minecraft/world/storage/ChunkCompressionFormat;getCurrentFormat()Lnet/minecraft/world/storage/ChunkCompressionFormat;
intermediary method_56567
Lnet/minecraft/class_4486;method_56567()Lnet/minecraft/class_4486;
official a
Lebh;a()Lebh;
-
exists
public static boolean exists(int id) - Mappings:
Namespace Name Mixin selector named exists
Lnet/minecraft/world/storage/ChunkCompressionFormat;exists(I)Z
intermediary method_21887
Lnet/minecraft/class_4486;method_21887(I)Z
official b
Lebh;b(I)Z
-
getId
public int getId()- Mappings:
Namespace Name Mixin selector named getId
Lnet/minecraft/world/storage/ChunkCompressionFormat;getId()I
intermediary method_21882
Lnet/minecraft/class_4486;method_21882()I
official b
Lebh;b()I
-
wrap
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector named wrap
Lnet/minecraft/world/storage/ChunkCompressionFormat;wrap(Ljava/io/OutputStream;)Ljava/io/OutputStream;
intermediary method_21886
Lnet/minecraft/class_4486;method_21886(Ljava/io/OutputStream;)Ljava/io/OutputStream;
official a
Lebh;a(Ljava/io/OutputStream;)Ljava/io/OutputStream;
-
wrap
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector named wrap
Lnet/minecraft/world/storage/ChunkCompressionFormat;wrap(Ljava/io/InputStream;)Ljava/io/InputStream;
intermediary method_21885
Lnet/minecraft/class_4486;method_21885(Ljava/io/InputStream;)Ljava/io/InputStream;
official a
Lebh;a(Ljava/io/InputStream;)Ljava/io/InputStream;
-