Class NbtIo

java.lang.Object
net.minecraft.nbt.NbtIo

public class NbtIo extends Object
Mappings:
Namespace Name
official or
intermediary net/minecraft/class_2507
named net/minecraft/nbt/NbtIo
  • Constructor Details

    • NbtIo

      public NbtIo()
  • Method Details

    • readCompressed

      public static NbtCompound readCompressed(File file) throws IOException
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official a Lor;a(Ljava/io/File;)Loh;
      intermediary method_30613 Lnet/minecraft/class_2507;method_30613(Ljava/io/File;)Lnet/minecraft/class_2487;
      named readCompressed Lnet/minecraft/nbt/NbtIo;readCompressed(Ljava/io/File;)Lnet/minecraft/nbt/NbtCompound;
    • method_40994

      private static DataInputStream method_40994(InputStream inputStream) throws IOException
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official b Lor;b(Ljava/io/InputStream;)Ljava/io/DataInputStream;
      intermediary method_40994 Lnet/minecraft/class_2507;method_40994(Ljava/io/InputStream;)Ljava/io/DataInputStream;
      named method_40994 Lnet/minecraft/nbt/NbtIo;method_40994(Ljava/io/InputStream;)Ljava/io/DataInputStream;
    • readCompressed

      public static NbtCompound readCompressed(InputStream stream) throws IOException
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official a Lor;a(Ljava/io/InputStream;)Loh;
      intermediary method_10629 Lnet/minecraft/class_2507;method_10629(Ljava/io/InputStream;)Lnet/minecraft/class_2487;
      named readCompressed Lnet/minecraft/nbt/NbtIo;readCompressed(Ljava/io/InputStream;)Lnet/minecraft/nbt/NbtCompound;
    • method_40992

      public static void method_40992(File file, NbtScanner nbtScanner) throws IOException
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official a Lor;a(Ljava/io/File;Lox;)V
      intermediary method_40992 Lnet/minecraft/class_2507;method_40992(Ljava/io/File;Lnet/minecraft/class_6836;)V
      named method_40992 Lnet/minecraft/nbt/NbtIo;method_40992(Ljava/io/File;Lnet/minecraft/nbt/scanner/NbtScanner;)V
    • method_40993

      public static void method_40993(InputStream inputStream, NbtScanner nbtScanner) throws IOException
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official a Lor;a(Ljava/io/InputStream;Lox;)V
      intermediary method_40993 Lnet/minecraft/class_2507;method_40993(Ljava/io/InputStream;Lnet/minecraft/class_6836;)V
      named method_40993 Lnet/minecraft/nbt/NbtIo;method_40993(Ljava/io/InputStream;Lnet/minecraft/nbt/scanner/NbtScanner;)V
    • writeCompressed

      public static void writeCompressed(NbtCompound compound, File file) throws IOException
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official a Lor;a(Loh;Ljava/io/File;)V
      intermediary method_30614 Lnet/minecraft/class_2507;method_30614(Lnet/minecraft/class_2487;Ljava/io/File;)V
      named writeCompressed Lnet/minecraft/nbt/NbtIo;writeCompressed(Lnet/minecraft/nbt/NbtCompound;Ljava/io/File;)V
    • writeCompressed

      public static void writeCompressed(NbtCompound compound, OutputStream stream) throws IOException
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official a Lor;a(Loh;Ljava/io/OutputStream;)V
      intermediary method_10634 Lnet/minecraft/class_2507;method_10634(Lnet/minecraft/class_2487;Ljava/io/OutputStream;)V
      named writeCompressed Lnet/minecraft/nbt/NbtIo;writeCompressed(Lnet/minecraft/nbt/NbtCompound;Ljava/io/OutputStream;)V
    • write

      public static void write(NbtCompound compound, File file) throws IOException
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official b Lor;b(Loh;Ljava/io/File;)V
      intermediary method_10630 Lnet/minecraft/class_2507;method_10630(Lnet/minecraft/class_2487;Ljava/io/File;)V
      named write Lnet/minecraft/nbt/NbtIo;write(Lnet/minecraft/nbt/NbtCompound;Ljava/io/File;)V
    • read

      @Nullable public static @Nullable NbtCompound read(File file) throws IOException
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official b Lor;b(Ljava/io/File;)Loh;
      intermediary method_10633 Lnet/minecraft/class_2507;method_10633(Ljava/io/File;)Lnet/minecraft/class_2487;
      named read Lnet/minecraft/nbt/NbtIo;read(Ljava/io/File;)Lnet/minecraft/nbt/NbtCompound;
    • read

      public static NbtCompound read(DataInput input) throws IOException
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official a Lor;a(Ljava/io/DataInput;)Loh;
      intermediary method_10627 Lnet/minecraft/class_2507;method_10627(Ljava/io/DataInput;)Lnet/minecraft/class_2487;
      named read Lnet/minecraft/nbt/NbtIo;read(Ljava/io/DataInput;)Lnet/minecraft/nbt/NbtCompound;
    • read

      public static NbtCompound read(DataInput input, NbtTagSizeTracker tracker) throws IOException
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official a Lor;a(Ljava/io/DataInput;Loq;)Loh;
      intermediary method_10625 Lnet/minecraft/class_2507;method_10625(Ljava/io/DataInput;Lnet/minecraft/class_2505;)Lnet/minecraft/class_2487;
      named read Lnet/minecraft/nbt/NbtIo;read(Ljava/io/DataInput;Lnet/minecraft/nbt/NbtTagSizeTracker;)Lnet/minecraft/nbt/NbtCompound;
    • write

      public static void write(NbtCompound compound, DataOutput output) throws IOException
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official a Lor;a(Loh;Ljava/io/DataOutput;)V
      intermediary method_10628 Lnet/minecraft/class_2507;method_10628(Lnet/minecraft/class_2487;Ljava/io/DataOutput;)V
      named write Lnet/minecraft/nbt/NbtIo;write(Lnet/minecraft/nbt/NbtCompound;Ljava/io/DataOutput;)V
    • read

      public static void read(DataInput input, NbtScanner visitor) throws IOException
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official a Lor;a(Ljava/io/DataInput;Lox;)V
      intermediary method_39855 Lnet/minecraft/class_2507;method_39855(Ljava/io/DataInput;Lnet/minecraft/class_6836;)V
      named read Lnet/minecraft/nbt/NbtIo;read(Ljava/io/DataInput;Lnet/minecraft/nbt/scanner/NbtScanner;)V
    • write

      public static void write(NbtElement element, DataOutput output) throws IOException
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official a Lor;a(Lpa;Ljava/io/DataOutput;)V
      intermediary method_10631 Lnet/minecraft/class_2507;method_10631(Lnet/minecraft/class_2520;Ljava/io/DataOutput;)V
      named write Lnet/minecraft/nbt/NbtIo;write(Lnet/minecraft/nbt/NbtElement;Ljava/io/DataOutput;)V
    • read

      private static NbtElement read(DataInput input, int depth, NbtTagSizeTracker tracker) throws IOException
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official a Lor;a(Ljava/io/DataInput;ILoq;)Lpa;
      intermediary method_10626 Lnet/minecraft/class_2507;method_10626(Ljava/io/DataInput;ILnet/minecraft/class_2505;)Lnet/minecraft/class_2520;
      named read Lnet/minecraft/nbt/NbtIo;read(Ljava/io/DataInput;ILnet/minecraft/nbt/NbtTagSizeTracker;)Lnet/minecraft/nbt/NbtElement;