Package net.minecraft.nbt
Class NbtIo
java.lang.Object
net.minecraft.nbt.NbtIo
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CompoundTagstatic CompoundTagread(DataInput p_128935_, NbtAccounter p_128936_)static CompoundTagstatic CompoundTagreadCompressed(File p_128938_)static CompoundTagreadCompressed(InputStream p_128940_)private static TagreadUnnamedTag(DataInput p_128931_, int p_128932_, NbtAccounter p_128933_)static voidwrite(CompoundTag p_128942_, DataOutput p_128943_)static voidwrite(CompoundTag p_128956_, File p_128957_)static voidwriteCompressed(CompoundTag p_128945_, File p_128946_)static voidwriteCompressed(CompoundTag p_128948_, OutputStream p_128949_)private static voidwriteUnnamedTag(Tag p_128951_, DataOutput p_128952_)
-
Constructor Details
-
NbtIo
public NbtIo()
-
-
Method Details
-
readCompressed
- Throws:
IOException
-
readCompressed
- 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
-
writeUnnamedTag
- Throws:
IOException
-
readUnnamedTag
private static Tag readUnnamedTag(DataInput p_128931_, int p_128932_, NbtAccounter p_128933_) throws IOException- Throws:
IOException
-