Package net.minecraft.nbt
Class NbtIo
java.lang.Object
net.minecraft.nbt.NbtIo
public class NbtIo extends Object
-
Constructor Summary
Constructors Constructor Description NbtIo() -
Method Summary
Modifier and Type Method Description private static Tagread(DataInput input, int depth, PositionTracker tracker)static CompoundTagread(DataInput input, PositionTracker trakcer)static CompoundTagread(DataInputStream stream)static CompoundTagread(File file)static CompoundTagreadCompressed(InputStream stream)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
-
writeCompressed
- Throws:
IOException
-
write
- Throws:
IOException
-
read
- Throws:
IOException
-
read
- Throws:
IOException
-
read
- Throws:
IOException
-
write
- Throws:
IOException
-
write
- Throws:
IOException
-
read
- Throws:
IOException
-