Package net.minecraft.nbt
Class NbtIo
java.lang.Object
net.minecraft.nbt.NbtIo
public class NbtIo extends Object
- Mappings:
Namespace Name official dxintermediary net/minecraft/class_1414named net/minecraft/nbt/NbtIo
-
Constructor Summary
Constructors Constructor Description NbtIo() -
Method Summary
Modifier and Type Method Description private static Tagmethod_5049(DataInput dataInput, int int2, PositionTracker positionTracker)static CompoundTagread(DataInput input, PositionTracker trakcer)static CompoundTagread(DataInputStream stream)static CompoundTagread(File file)static CompoundTagreadCompressed(InputStream stream)static voidsafeWrite(CompoundTag tag, File file)static voidwrite(CompoundTag tag, DataOutput output)static voidwrite(CompoundTag tag, File file)private static voidwrite(Tag tag, DataOutput output)static voidwriteCompressed(CompoundTag tag, OutputStream stream)
-
Constructor Details
-
NbtIo
public NbtIo()
-
-
Method Details
-
readCompressed
- Throws:
IOException- Mappings:
Namespace Name Mixin selector official aLdx;a(Ljava/io/InputStream;)Ldn;intermediary method_5053Lnet/minecraft/class_1414;method_5053(Ljava/io/InputStream;)Lnet/minecraft/class_1405;named readCompressedLnet/minecraft/nbt/NbtIo;readCompressed(Ljava/io/InputStream;)Lnet/minecraft/nbt/CompoundTag;
-
writeCompressed
- Throws:
IOException- Mappings:
Namespace Name Mixin selector official aLdx;a(Ldn;Ljava/io/OutputStream;)Vintermediary method_5047Lnet/minecraft/class_1414;method_5047(Lnet/minecraft/class_1405;Ljava/io/OutputStream;)Vnamed writeCompressedLnet/minecraft/nbt/NbtIo;writeCompressed(Lnet/minecraft/nbt/CompoundTag;Ljava/io/OutputStream;)V
-
safeWrite
- Throws:
IOException- Mappings:
Namespace Name Mixin selector official aLdx;a(Ldn;Ljava/io/File;)Vintermediary method_5046Lnet/minecraft/class_1414;method_5046(Lnet/minecraft/class_1405;Ljava/io/File;)Vnamed safeWriteLnet/minecraft/nbt/NbtIo;safeWrite(Lnet/minecraft/nbt/CompoundTag;Ljava/io/File;)V
-
write
- Throws:
IOException- Mappings:
Namespace Name Mixin selector official bLdx;b(Ldn;Ljava/io/File;)Vintermediary method_5054Lnet/minecraft/class_1414;method_5054(Lnet/minecraft/class_1405;Ljava/io/File;)Vnamed writeLnet/minecraft/nbt/NbtIo;write(Lnet/minecraft/nbt/CompoundTag;Ljava/io/File;)V
-
read
- Throws:
IOException- Mappings:
Namespace Name Mixin selector official aLdx;a(Ljava/io/File;)Ldn;intermediary method_5052Lnet/minecraft/class_1414;method_5052(Ljava/io/File;)Lnet/minecraft/class_1405;named readLnet/minecraft/nbt/NbtIo;read(Ljava/io/File;)Lnet/minecraft/nbt/CompoundTag;
-
read
- Throws:
IOException- Mappings:
Namespace Name Mixin selector official aLdx;a(Ljava/io/DataInputStream;)Ldn;intermediary method_5051Lnet/minecraft/class_1414;method_5051(Ljava/io/DataInputStream;)Lnet/minecraft/class_1405;named readLnet/minecraft/nbt/NbtIo;read(Ljava/io/DataInputStream;)Lnet/minecraft/nbt/CompoundTag;
-
read
- Throws:
IOException- Mappings:
Namespace Name Mixin selector official aLdx;a(Ljava/io/DataInput;Ldw;)Ldn;intermediary method_5050Lnet/minecraft/class_1414;method_5050(Ljava/io/DataInput;Lnet/minecraft/class_1413;)Lnet/minecraft/class_1405;named readLnet/minecraft/nbt/NbtIo;read(Ljava/io/DataInput;Lnet/minecraft/nbt/PositionTracker;)Lnet/minecraft/nbt/CompoundTag;
-
write
- Throws:
IOException- Mappings:
Namespace Name Mixin selector official aLdx;a(Ldn;Ljava/io/DataOutput;)Vintermediary method_5045Lnet/minecraft/class_1414;method_5045(Lnet/minecraft/class_1405;Ljava/io/DataOutput;)Vnamed writeLnet/minecraft/nbt/NbtIo;write(Lnet/minecraft/nbt/CompoundTag;Ljava/io/DataOutput;)V
-
write
- Throws:
IOException- Mappings:
Namespace Name Mixin selector official aLdx;a(Leb;Ljava/io/DataOutput;)Vintermediary method_5048Lnet/minecraft/class_1414;method_5048(Lnet/minecraft/class_1419;Ljava/io/DataOutput;)Vnamed writeLnet/minecraft/nbt/NbtIo;write(Lnet/minecraft/nbt/Tag;Ljava/io/DataOutput;)V
-
method_5049
private static Tag method_5049(DataInput dataInput, int int2, PositionTracker positionTracker) throws IOException- Throws:
IOException- Mappings:
Namespace Name Mixin selector official aLdx;a(Ljava/io/DataInput;ILdw;)Leb;intermediary method_5049Lnet/minecraft/class_1414;method_5049(Ljava/io/DataInput;ILnet/minecraft/class_1413;)Lnet/minecraft/class_1419;named method_5049Lnet/minecraft/nbt/NbtIo;method_5049(Ljava/io/DataInput;ILnet/minecraft/nbt/PositionTracker;)Lnet/minecraft/nbt/Tag;
-