Package net.minecraft.nbt
Class NbtIo
java.lang.Object
net.minecraft.nbt.NbtIo
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprivate static DataInputStreamcreateDecompressorStream(InputStream p_202494_) static voidparse(DataInput p_197510_, StreamTagVisitor p_197511_, NbtAccounter p_301755_) static voidparseCompressed(File p_202488_, StreamTagVisitor p_202489_, NbtAccounter p_301727_) static voidparseCompressed(InputStream p_202491_, StreamTagVisitor p_202492_, NbtAccounter p_301762_) static CompoundTagstatic CompoundTagread(DataInput p_128935_, NbtAccounter p_128936_) static CompoundTagstatic TagreadAnyTag(DataInput p_301023_, NbtAccounter p_299704_) static CompoundTagreadCompressed(File p_128938_) static CompoundTagreadCompressed(InputStream p_128940_) private static TagreadTagSafe(DataInput p_299672_, NbtAccounter p_299171_, byte p_300451_) private static TagreadUnnamedTag(DataInput p_128931_, NbtAccounter p_128933_) static voidwrite(CompoundTag p_128942_, DataOutput p_128943_) static voidwrite(CompoundTag p_128956_, File p_128957_) static voidwriteAnyTag(Tag p_300328_, DataOutput p_297970_) static voidwriteCompressed(CompoundTag p_128945_, File p_128946_) static voidwriteCompressed(CompoundTag p_128948_, OutputStream p_128949_) static voidwriteUnnamedTag(Tag p_128951_, DataOutput p_128952_) 
- 
Constructor Details- 
NbtIopublic NbtIo()
 
- 
- 
Method Details- 
readCompressed- Throws:
- IOException
 
- 
createDecompressorStream- Throws:
- IOException
 
- 
readCompressed- Throws:
- IOException
 
- 
parseCompressedpublic static void parseCompressed(File p_202488_, StreamTagVisitor p_202489_, NbtAccounter p_301727_) throws IOException - Throws:
- IOException
 
- 
parseCompressedpublic static void parseCompressed(InputStream p_202491_, StreamTagVisitor p_202492_, NbtAccounter p_301762_) throws IOException - Throws:
- IOException
 
- 
writeCompressed- Throws:
- IOException
 
- 
writeCompressedpublic 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
 
- 
parsepublic static void parse(DataInput p_197510_, StreamTagVisitor p_197511_, NbtAccounter p_301755_) throws IOException - Throws:
- IOException
 
- 
readAnyTag- Throws:
- IOException
 
- 
writeAnyTag- Throws:
- IOException
 
- 
writeUnnamedTag- Throws:
- IOException
 
- 
readUnnamedTag- Throws:
- IOException
 
- 
readTagSafe
 
-