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 NbtCompoundread(DataInput input)private static NbtElementread(DataInput input, int depth, NbtTagSizeTracker tracker)static NbtCompoundread(DataInput input, NbtTagSizeTracker tracker)static NbtCompoundread(File file)static NbtCompoundreadCompressed(File file)static NbtCompoundreadCompressed(InputStream stream)static voidwrite(NbtCompound compound, DataOutput output)static voidwrite(NbtCompound compound, File file)private static voidwrite(NbtElement element, DataOutput output)static voidwriteCompressed(NbtCompound compound, File file)static voidwriteCompressed(NbtCompound compound, 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
private static NbtElement read(DataInput input, int depth, NbtTagSizeTracker tracker) throws IOException- Throws:
IOException
-