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 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
-
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
-