Package net.minecraft.world.storage
Class ChunkStreamVersion
java.lang.Object
net.minecraft.world.storage.ChunkStreamVersion
- Mappings:
Namespace Name official din
intermediary net/minecraft/class_4486
named net/minecraft/world/storage/ChunkStreamVersion
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final ChunkStreamVersion
static final ChunkStreamVersion
private final int
private final ChunkStreamVersion.Wrapper<InputStream>
private final ChunkStreamVersion.Wrapper<OutputStream>
static final ChunkStreamVersion
private static final Int2ObjectMap<ChunkStreamVersion>
-
Constructor Summary
ModifierConstructorDescriptionprivate
ChunkStreamVersion
(int id, ChunkStreamVersion.Wrapper<InputStream> inputStreamWrapper, ChunkStreamVersion.Wrapper<OutputStream> outputStreamWrapper) -
Method Summary
Modifier and TypeMethodDescriptionprivate static ChunkStreamVersion
add
(ChunkStreamVersion version) static boolean
exists
(int id) static @Nullable ChunkStreamVersion
get
(int id) int
getId()
wrap
(InputStream inputStream) wrap
(OutputStream outputStream)
-
Field Details
-
VERSIONS
- Mappings:
Namespace Name Mixin selector official d
Ldin;d:Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;
intermediary field_20445
Lnet/minecraft/class_4486;field_20445:Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;
named VERSIONS
Lnet/minecraft/world/storage/ChunkStreamVersion;VERSIONS:Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;
-
GZIP
- Mappings:
Namespace Name Mixin selector official a
Ldin;a:Ldin;
intermediary field_20442
Lnet/minecraft/class_4486;field_20442:Lnet/minecraft/class_4486;
named GZIP
Lnet/minecraft/world/storage/ChunkStreamVersion;GZIP:Lnet/minecraft/world/storage/ChunkStreamVersion;
-
DEFLATE
- Mappings:
Namespace Name Mixin selector official b
Ldin;b:Ldin;
intermediary field_20443
Lnet/minecraft/class_4486;field_20443:Lnet/minecraft/class_4486;
named DEFLATE
Lnet/minecraft/world/storage/ChunkStreamVersion;DEFLATE:Lnet/minecraft/world/storage/ChunkStreamVersion;
-
UNCOMPRESSED
- Mappings:
Namespace Name Mixin selector official c
Ldin;c:Ldin;
intermediary field_20444
Lnet/minecraft/class_4486;field_20444:Lnet/minecraft/class_4486;
named UNCOMPRESSED
Lnet/minecraft/world/storage/ChunkStreamVersion;UNCOMPRESSED:Lnet/minecraft/world/storage/ChunkStreamVersion;
-
id
private final int id- Mappings:
Namespace Name Mixin selector official e
Ldin;e:I
intermediary field_20446
Lnet/minecraft/class_4486;field_20446:I
named id
Lnet/minecraft/world/storage/ChunkStreamVersion;id:I
-
inputStreamWrapper
- Mappings:
Namespace Name Mixin selector official f
Ldin;f:Ldin$a;
intermediary field_20447
Lnet/minecraft/class_4486;field_20447:Lnet/minecraft/class_4486$class_4487;
named inputStreamWrapper
Lnet/minecraft/world/storage/ChunkStreamVersion;inputStreamWrapper:Lnet/minecraft/world/storage/ChunkStreamVersion$Wrapper;
-
outputStreamWrapper
- Mappings:
Namespace Name Mixin selector official g
Ldin;g:Ldin$a;
intermediary field_20448
Lnet/minecraft/class_4486;field_20448:Lnet/minecraft/class_4486$class_4487;
named outputStreamWrapper
Lnet/minecraft/world/storage/ChunkStreamVersion;outputStreamWrapper:Lnet/minecraft/world/storage/ChunkStreamVersion$Wrapper;
-
-
Constructor Details
-
ChunkStreamVersion
private ChunkStreamVersion(int id, ChunkStreamVersion.Wrapper<InputStream> inputStreamWrapper, ChunkStreamVersion.Wrapper<OutputStream> outputStreamWrapper) - Mappings:
Namespace Name Mixin selector official <init>
Ldin;<init>(ILdin$a;Ldin$a;)V
intermediary <init>
Lnet/minecraft/class_4486;<init>(ILnet/minecraft/class_4486$class_4487;Lnet/minecraft/class_4486$class_4487;)V
named <init>
Lnet/minecraft/world/storage/ChunkStreamVersion;<init>(ILnet/minecraft/world/storage/ChunkStreamVersion$Wrapper;Lnet/minecraft/world/storage/ChunkStreamVersion$Wrapper;)V
-
-
Method Details
-
add
- Mappings:
Namespace Name Mixin selector official a
Ldin;a(Ldin;)Ldin;
intermediary method_21884
Lnet/minecraft/class_4486;method_21884(Lnet/minecraft/class_4486;)Lnet/minecraft/class_4486;
named add
Lnet/minecraft/world/storage/ChunkStreamVersion;add(Lnet/minecraft/world/storage/ChunkStreamVersion;)Lnet/minecraft/world/storage/ChunkStreamVersion;
-
get
- Mappings:
Namespace Name Mixin selector official a
Ldin;a(I)Ldin;
intermediary method_21883
Lnet/minecraft/class_4486;method_21883(I)Lnet/minecraft/class_4486;
named get
Lnet/minecraft/world/storage/ChunkStreamVersion;get(I)Lnet/minecraft/world/storage/ChunkStreamVersion;
-
exists
public static boolean exists(int id) - Mappings:
Namespace Name Mixin selector official b
Ldin;b(I)Z
intermediary method_21887
Lnet/minecraft/class_4486;method_21887(I)Z
named exists
Lnet/minecraft/world/storage/ChunkStreamVersion;exists(I)Z
-
getId
public int getId()- Mappings:
Namespace Name Mixin selector official a
Ldin;a()I
intermediary method_21882
Lnet/minecraft/class_4486;method_21882()I
named getId
Lnet/minecraft/world/storage/ChunkStreamVersion;getId()I
-
wrap
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector official a
Ldin;a(Ljava/io/OutputStream;)Ljava/io/OutputStream;
intermediary method_21886
Lnet/minecraft/class_4486;method_21886(Ljava/io/OutputStream;)Ljava/io/OutputStream;
named wrap
Lnet/minecraft/world/storage/ChunkStreamVersion;wrap(Ljava/io/OutputStream;)Ljava/io/OutputStream;
-
wrap
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector official a
Ldin;a(Ljava/io/InputStream;)Ljava/io/InputStream;
intermediary method_21885
Lnet/minecraft/class_4486;method_21885(Ljava/io/InputStream;)Ljava/io/InputStream;
named wrap
Lnet/minecraft/world/storage/ChunkStreamVersion;wrap(Ljava/io/InputStream;)Ljava/io/InputStream;
-