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 static CompoundTagread(DataInput input)private static Tagread(DataInput input, int depth, PositionTracker tracker)static CompoundTagread(DataInput input, PositionTracker tracker)static CompoundTagread(File file)static CompoundTagreadCompressed(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, File file)static voidwriteCompressed(CompoundTag tag, OutputStream stream)
-
Constructor Details
-
NbtIo
public NbtIo()
-
-
Method Details
-
readCompressed
- Throws:
IOException
-
readCompressed
- Throws:
IOException
-
writeCompressed
- 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
-