Package net.minecraft.world.storage
Class ChunkStreamVersion
java.lang.Object
net.minecraft.world.storage.ChunkStreamVersion
public class ChunkStreamVersion extends Object
- Mappings:
Namespace Name official ckq
intermediary net/minecraft/class_4486
named net/minecraft/world/storage/ChunkStreamVersion
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static interface
ChunkStreamVersion.Wrapper<O>
-
Field Summary
Fields Modifier and Type Field Description static ChunkStreamVersion
DEFLATE
static ChunkStreamVersion
GZIP
private int
id
private ChunkStreamVersion.Wrapper<InputStream>
inputStreamWrapper
private ChunkStreamVersion.Wrapper<OutputStream>
outputStreamWrapper
static ChunkStreamVersion
UNCOMPRESSED
private static Int2ObjectMap<ChunkStreamVersion>
VERSIONS
-
Constructor Summary
Constructors Modifier Constructor Description private
ChunkStreamVersion(int id, ChunkStreamVersion.Wrapper<InputStream> inputStreamWrapper, ChunkStreamVersion.Wrapper<OutputStream> outputStreamWrapper)
-
Method Summary
Modifier and Type Method Description private static ChunkStreamVersion
add(ChunkStreamVersion version)
static boolean
exists(int id)
static ChunkStreamVersion
get(int id)
int
getId()
InputStream
wrap(InputStream inputStream)
OutputStream
wrap(OutputStream outputStream)
-
Field Details
-
VERSIONS
- Mappings:
Namespace Name Mixin selector official d
Lckq;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
Lckq;a:Lckq;
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
Lckq;b:Lckq;
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
Lckq;c:Lckq;
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
Lckq;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
Lckq;f:Lckq$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
Lckq;g:Lckq$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>
Lckq;<init>(ILckq$a;Lckq$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
Lckq;a(Lckq;)Lckq;
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
Lckq;a(I)Lckq;
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
Lckq;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
Lckq;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
Lckq;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
Lckq;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;
-