Package net.minecraft.world.storage
Class ChunkStreamVersion
java.lang.Object
net.minecraft.world.storage.ChunkStreamVersion
- Mappings:
Namespace Name official cnq
intermediary net/minecraft/class_4486
named net/minecraft/world/storage/ChunkStreamVersion
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic ChunkStreamVersion
static ChunkStreamVersion
private int
private ChunkStreamVersion.Wrapper<InputStream>
private ChunkStreamVersion.Wrapper<OutputStream>
static ChunkStreamVersion
private static 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
Lcnq;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
Lcnq;a:Lcnq;
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
Lcnq;b:Lcnq;
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
Lcnq;c:Lcnq;
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
Lcnq;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
Lcnq;f:Lcnq$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
Lcnq;g:Lcnq$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>
Lcnq;<init>(ILcnq$a;Lcnq$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
Lcnq;a(Lcnq;)Lcnq;
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
Lcnq;a(I)Lcnq;
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
Lcnq;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
Lcnq;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
Lcnq;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
Lcnq;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;
-