Package net.minecraft.nbt
Class NbtIo
java.lang.Object
net.minecraft.nbt.NbtIo
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static DataInputStream
createDecompressorStream
(InputStream p_202494_) static void
parse
(DataInput p_197510_, StreamTagVisitor p_197511_) static void
parseCompressed
(File p_202488_, StreamTagVisitor p_202489_) static void
parseCompressed
(InputStream p_202491_, StreamTagVisitor p_202492_) static CompoundTag
static CompoundTag
read
(DataInput p_128935_, NbtAccounter p_128936_) static CompoundTag
static CompoundTag
readCompressed
(File p_128938_) static CompoundTag
readCompressed
(InputStream p_128940_) private static Tag
readUnnamedTag
(DataInput p_128931_, int p_128932_, NbtAccounter p_128933_) static void
write
(CompoundTag p_128942_, DataOutput p_128943_) static void
write
(CompoundTag p_128956_, File p_128957_) static void
writeCompressed
(CompoundTag p_128945_, File p_128946_) static void
writeCompressed
(CompoundTag p_128948_, OutputStream p_128949_) static void
writeUnnamedTag
(Tag p_128951_, DataOutput p_128952_)
-
Constructor Details
-
NbtIo
public NbtIo()
-
-
Method Details
-
readCompressed
- Throws:
IOException
-
createDecompressorStream
- Throws:
IOException
-
readCompressed
- Throws:
IOException
-
parseCompressed
- Throws:
IOException
-
parseCompressed
public static void parseCompressed(InputStream p_202491_, StreamTagVisitor p_202492_) throws IOException - Throws:
IOException
-
writeCompressed
- Throws:
IOException
-
writeCompressed
public static void writeCompressed(CompoundTag p_128948_, OutputStream p_128949_) throws IOException - Throws:
IOException
-
write
- Throws:
IOException
-
read
- Throws:
IOException
-
read
- Throws:
IOException
-
read
- Throws:
IOException
-
write
- Throws:
IOException
-
parse
- Throws:
IOException
-
writeUnnamedTag
- Throws:
IOException
-
readUnnamedTag
private static Tag readUnnamedTag(DataInput p_128931_, int p_128932_, NbtAccounter p_128933_) throws IOException - Throws:
IOException
-