Package net.minecraft.nbt
Class NbtIo
java.lang.Object
net.minecraft.nbt.NbtIo
public class NbtIo extends Object
- Mappings:
Namespace Name official na
intermediary net/minecraft/class_2507
named net/minecraft/nbt/NbtIo
-
Constructor Summary
Constructors Constructor Description NbtIo()
-
Method Summary
Modifier and Type Method Description static CompoundTag
read(DataInput input)
private static Tag
read(DataInput input, int depth, PositionTracker tracker)
static CompoundTag
read(DataInput input, PositionTracker tracker)
static CompoundTag
read(File file)
static CompoundTag
readCompressed(File file)
static CompoundTag
readCompressed(InputStream stream)
static void
write(CompoundTag tag, DataOutput output)
static void
write(CompoundTag tag, File file)
private static void
write(Tag tag, DataOutput output)
static void
writeCompressed(CompoundTag tag, File file)
static void
writeCompressed(CompoundTag tag, OutputStream stream)
-
Constructor Details
-
NbtIo
public NbtIo()
-
-
Method Details
-
readCompressed
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector official a
Lna;a(Ljava/io/File;)Lmq;
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
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector official a
Lna;a(Ljava/io/InputStream;)Lmq;
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
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector official a
Lna;a(Lmq;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
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector official a
Lna;a(Lmq;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
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector official b
Lna;b(Lmq;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
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector official b
Lna;b(Ljava/io/File;)Lmq;
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
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector official a
Lna;a(Ljava/io/DataInput;)Lmq;
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
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector official a
Lna;a(Ljava/io/DataInput;Lmz;)Lmq;
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/PositionTracker;)Lnet/minecraft/nbt/CompoundTag;
-
write
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector official a
Lna;a(Lmq;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
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector official a
Lna;a(Lni;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
- Throws:
IOException
- Mappings:
Namespace Name Mixin selector official a
Lna;a(Ljava/io/DataInput;ILmz;)Lni;
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/PositionTracker;)Lnet/minecraft/nbt/Tag;
-