类 NbtIo


  • public class NbtIo
    extends Object
    Mappings:
    Namespace Name
    official nf
    intermediary net/minecraft/class_2507
    named net/minecraft/nbt/NbtIo
    • 构造器详细资料

      • NbtIo

        public NbtIo()
    • 方法详细资料

      • readCompressed

        public static CompoundTag readCompressed​(File file)
                                          throws IOException
        抛出:
        IOException
        Mappings:
        Namespace Name Mixin selector
        official a Lnf;a(Ljava/io/File;)Lmv;
        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/CompoundTag;
      • readCompressed

        public static CompoundTag readCompressed​(InputStream stream)
                                          throws IOException
        抛出:
        IOException
        Mappings:
        Namespace Name Mixin selector
        official a Lnf;a(Ljava/io/InputStream;)Lmv;
        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/CompoundTag;
      • writeCompressed

        public static void writeCompressed​(CompoundTag compound,
                                           File file)
                                    throws IOException
        抛出:
        IOException
        Mappings:
        Namespace Name Mixin selector
        official a Lnf;a(Lmv;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/CompoundTag;Ljava/io/File;)V
      • writeCompressed

        public static void writeCompressed​(CompoundTag compound,
                                           OutputStream stream)
                                    throws IOException
        抛出:
        IOException
        Mappings:
        Namespace Name Mixin selector
        official a Lnf;a(Lmv;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/CompoundTag;Ljava/io/OutputStream;)V
      • write

        public static void write​(CompoundTag compound,
                                 File file)
                          throws IOException
        抛出:
        IOException
        Mappings:
        Namespace Name Mixin selector
        official b Lnf;b(Lmv;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/CompoundTag;Ljava/io/File;)V
      • read

        @Nullable
        public static @Nullable CompoundTag read​(File file)
                                          throws IOException
        抛出:
        IOException
        Mappings:
        Namespace Name Mixin selector
        official b Lnf;b(Ljava/io/File;)Lmv;
        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/CompoundTag;
      • read

        public static CompoundTag read​(DataInput input)
                                throws IOException
        抛出:
        IOException
        Mappings:
        Namespace Name Mixin selector
        official a Lnf;a(Ljava/io/DataInput;)Lmv;
        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/CompoundTag;
      • read

        public static CompoundTag read​(DataInput input,
                                       NbtTagSizeTracker tracker)
                                throws IOException
        抛出:
        IOException
        Mappings:
        Namespace Name Mixin selector
        official a Lnf;a(Ljava/io/DataInput;Lne;)Lmv;
        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/CompoundTag;
      • write

        public static void write​(CompoundTag compound,
                                 DataOutput output)
                          throws IOException
        抛出:
        IOException
        Mappings:
        Namespace Name Mixin selector
        official a Lnf;a(Lmv;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/CompoundTag;Ljava/io/DataOutput;)V
      • write

        private static void write​(Tag element,
                                  DataOutput output)
                           throws IOException
        抛出:
        IOException
        Mappings:
        Namespace Name Mixin selector
        official a Lnf;a(Lnn;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/Tag;Ljava/io/DataOutput;)V
      • read

        private static Tag read​(DataInput input,
                                int depth,
                                NbtTagSizeTracker tracker)
                         throws IOException
        抛出:
        IOException
        Mappings:
        Namespace Name Mixin selector
        official a Lnf;a(Ljava/io/DataInput;ILne;)Lnn;
        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/Tag;