类 NbtIo
- java.lang.Object
-
- net.minecraft.nbt.NbtIo
-
public class NbtIo extends Object
- Mappings:
Namespace Name official nfintermediary net/minecraft/class_2507named net/minecraft/nbt/NbtIo
-
-
构造器概要
构造器 构造器 说明 NbtIo()
-
方法概要
所有方法 静态方法 具体方法 修饰符和类型 方法 说明 static CompoundTagread(DataInput input)private static Tagread(DataInput input, int depth, NbtTagSizeTracker tracker)static CompoundTagread(DataInput input, NbtTagSizeTracker tracker)static @Nullable CompoundTagread(File file)static CompoundTagreadCompressed(File file)static CompoundTagreadCompressed(InputStream stream)static voidwrite(CompoundTag compound, DataOutput output)static voidwrite(CompoundTag compound, File file)private static voidwrite(Tag element, DataOutput output)static voidwriteCompressed(CompoundTag compound, File file)static voidwriteCompressed(CompoundTag compound, OutputStream stream)
-
-
-
方法详细资料
-
readCompressed
public static CompoundTag readCompressed(File file) throws IOException
- 抛出:
IOException- Mappings:
Namespace Name Mixin selector official aLnf;a(Ljava/io/File;)Lmv;intermediary method_30613Lnet/minecraft/class_2507;method_30613(Ljava/io/File;)Lnet/minecraft/class_2487;named readCompressedLnet/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 aLnf;a(Ljava/io/InputStream;)Lmv;intermediary method_10629Lnet/minecraft/class_2507;method_10629(Ljava/io/InputStream;)Lnet/minecraft/class_2487;named readCompressedLnet/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 aLnf;a(Lmv;Ljava/io/File;)Vintermediary method_30614Lnet/minecraft/class_2507;method_30614(Lnet/minecraft/class_2487;Ljava/io/File;)Vnamed writeCompressedLnet/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 aLnf;a(Lmv;Ljava/io/OutputStream;)Vintermediary method_10634Lnet/minecraft/class_2507;method_10634(Lnet/minecraft/class_2487;Ljava/io/OutputStream;)Vnamed writeCompressedLnet/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 bLnf;b(Lmv;Ljava/io/File;)Vintermediary method_10630Lnet/minecraft/class_2507;method_10630(Lnet/minecraft/class_2487;Ljava/io/File;)Vnamed writeLnet/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 bLnf;b(Ljava/io/File;)Lmv;intermediary method_10633Lnet/minecraft/class_2507;method_10633(Ljava/io/File;)Lnet/minecraft/class_2487;named readLnet/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 aLnf;a(Ljava/io/DataInput;)Lmv;intermediary method_10627Lnet/minecraft/class_2507;method_10627(Ljava/io/DataInput;)Lnet/minecraft/class_2487;named readLnet/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 aLnf;a(Ljava/io/DataInput;Lne;)Lmv;intermediary method_10625Lnet/minecraft/class_2507;method_10625(Ljava/io/DataInput;Lnet/minecraft/class_2505;)Lnet/minecraft/class_2487;named readLnet/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 aLnf;a(Lmv;Ljava/io/DataOutput;)Vintermediary method_10628Lnet/minecraft/class_2507;method_10628(Lnet/minecraft/class_2487;Ljava/io/DataOutput;)Vnamed writeLnet/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 aLnf;a(Lnn;Ljava/io/DataOutput;)Vintermediary method_10631Lnet/minecraft/class_2507;method_10631(Lnet/minecraft/class_2520;Ljava/io/DataOutput;)Vnamed writeLnet/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 aLnf;a(Ljava/io/DataInput;ILne;)Lnn;intermediary method_10626Lnet/minecraft/class_2507;method_10626(Ljava/io/DataInput;ILnet/minecraft/class_2505;)Lnet/minecraft/class_2520;named readLnet/minecraft/nbt/NbtIo;read(Ljava/io/DataInput;ILnet/minecraft/nbt/NbtTagSizeTracker;)Lnet/minecraft/nbt/Tag;
-
-