Class ChunkStreamVersion

java.lang.Object
net.minecraft.world.storage.ChunkStreamVersion

public class ChunkStreamVersion extends Object
Mappings:
Namespace Name
official deu
intermediary net/minecraft/class_4486
named net/minecraft/world/storage/ChunkStreamVersion
  • Field Details

    • VERSIONS

      private static final Int2ObjectMap<ChunkStreamVersion> VERSIONS
      Mappings:
      Namespace Name Mixin selector
      official d Ldeu;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

      public static final ChunkStreamVersion GZIP
      Mappings:
      Namespace Name Mixin selector
      official a Ldeu;a:Ldeu;
      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

      public static final ChunkStreamVersion DEFLATE
      Mappings:
      Namespace Name Mixin selector
      official b Ldeu;b:Ldeu;
      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

      public static final ChunkStreamVersion UNCOMPRESSED
      Mappings:
      Namespace Name Mixin selector
      official c Ldeu;c:Ldeu;
      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 Ldeu;e:I
      intermediary field_20446 Lnet/minecraft/class_4486;field_20446:I
      named id Lnet/minecraft/world/storage/ChunkStreamVersion;id:I
    • inputStreamWrapper

      private final ChunkStreamVersion.Wrapper<InputStream> inputStreamWrapper
      Mappings:
      Namespace Name Mixin selector
      official f Ldeu;f:Ldeu$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

      private final ChunkStreamVersion.Wrapper<OutputStream> outputStreamWrapper
      Mappings:
      Namespace Name Mixin selector
      official g Ldeu;g:Ldeu$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> Ldeu;<init>(ILdeu$a;Ldeu$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

      private static ChunkStreamVersion add(ChunkStreamVersion version)
      Mappings:
      Namespace Name Mixin selector
      official a Ldeu;a(Ldeu;)Ldeu;
      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

      @Nullable public static @Nullable ChunkStreamVersion get(int id)
      Mappings:
      Namespace Name Mixin selector
      official a Ldeu;a(I)Ldeu;
      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 Ldeu;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 Ldeu;a()I
      intermediary method_21882 Lnet/minecraft/class_4486;method_21882()I
      named getId Lnet/minecraft/world/storage/ChunkStreamVersion;getId()I
    • wrap

      public OutputStream wrap(OutputStream outputStream) throws IOException
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official a Ldeu;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

      public InputStream wrap(InputStream inputStream) throws IOException
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official a Ldeu;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;