net.minecraft.nbt

public class NbtIo

ta
net.minecraft.nbt.NbtIo
net.minecraft.class_2507
net.minecraft.nbt.NbtIo
net.minecraft.src.C_4939_
net.minecraft.nbt.NBTCompressedStreamTools

Field summary

Modifier and TypeField
private static final OpenOption[]
a
SYNC_OUTPUT_OPTIONS
field_47513
OPEN_OPTIONS
f_302613_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static CompoundTag
a(Path arg0, sw arg1)
readCompressed(Path arg0, NbtAccounter arg1)
method_30613(Path arg0, class_2505 arg1)
readCompressed(Path path, NbtSizeTracker tagSizeTracker)
m_128939_(Path p_310303_, C_4937_ p_311830_)
private static DataInputStream
a(InputStream arg0)
createDecompressorStream(InputStream arg0)
method_40059(InputStream arg0)
decompress(InputStream stream)
m_202493_(InputStream p_202494_)
private static DataOutputStream
a(OutputStream arg0)
createCompressorStream(OutputStream arg0)
method_54906(OutputStream arg0)
compress(OutputStream stream)
m_306903_(OutputStream p_310411_)
public static CompoundTag
a(InputStream arg0, sw arg1)
readCompressed(InputStream arg0, NbtAccounter arg1)
method_10629(InputStream arg0, class_2505 arg1)
readCompressed(InputStream stream, NbtSizeTracker tagSizeTracker)
m_128937_(InputStream p_313037_, C_4937_ p_312435_)
public static void
a(Path arg0, th arg1, sw arg2)
parseCompressed(Path arg0, StreamTagVisitor arg1, NbtAccounter arg2)
method_40057(Path arg0, class_6836 arg1, class_2505 arg2)
scanCompressed(Path path, NbtScanner scanner, NbtSizeTracker tracker)
m_202487_(Path p_310443_, C_196121_ p_202489_, C_4937_ p_301727_)
public static void
a(InputStream arg0, th arg1, sw arg2)
parseCompressed(InputStream arg0, StreamTagVisitor arg1, NbtAccounter arg2)
method_40058(InputStream arg0, class_6836 arg1, class_2505 arg2)
scanCompressed(InputStream stream, NbtScanner scanner, NbtSizeTracker tracker)
m_202490_(InputStream p_202491_, C_196121_ p_202492_, C_4937_ p_301762_)
public static void
a(sn arg0, Path arg1)
writeCompressed(CompoundTag arg0, Path arg1)
method_30614(class_2487 arg0, Path arg1)
writeCompressed(NbtCompound nbt, Path path)
m_128944_(C_4917_ p_128945_, Path p_310344_)
public static void
a(sn arg0, OutputStream arg1)
writeCompressed(CompoundTag arg0, OutputStream arg1)
method_10634(class_2487 arg0, OutputStream arg1)
writeCompressed(NbtCompound nbt, OutputStream stream)
m_128947_(C_4917_ p_128948_, OutputStream p_128949_)
public static void
b(sn arg0, Path arg1)
write(CompoundTag arg0, Path arg1)
method_10630(class_2487 arg0, Path arg1)
write(NbtCompound nbt, Path path)
m_128955_(C_4917_ p_128956_, Path p_311890_)
public static CompoundTag
a(Path arg0)
read(Path arg0)
method_10633(Path arg0)
read(Path path)
m_128953_(Path p_310670_)
public static CompoundTag
a(DataInput arg0)
read(DataInput arg0)
method_10627(DataInput arg0)
readCompound(DataInput input)
m_128928_(DataInput p_128929_)
public static CompoundTag
a(DataInput arg0, sw arg1)
read(DataInput arg0, NbtAccounter arg1)
method_10625(DataInput arg0, class_2505 arg1)
readCompound(DataInput input, NbtSizeTracker tracker)
m_128934_(DataInput p_128935_, C_4937_ p_128936_)
public static void
a(sn arg0, DataOutput arg1)
write(CompoundTag arg0, DataOutput arg1)
method_10628(class_2487 arg0, DataOutput arg1)
writeCompound(NbtCompound nbt, DataOutput output)
m_128941_(C_4917_ p_128942_, DataOutput p_128943_)
public static void
a(DataInput arg0, th arg1, sw arg2)
parse(DataInput arg0, StreamTagVisitor arg1, NbtAccounter arg2)
method_39855(DataInput arg0, class_6836 arg1, class_2505 arg2)
scan(DataInput input, NbtScanner scanner, NbtSizeTracker tracker)
m_197509_(DataInput p_197510_, C_196121_ p_197511_, C_4937_ p_301755_)
public static Tag
b(DataInput arg0, sw arg1)
readAnyTag(DataInput arg0, NbtAccounter arg1)
method_52894(DataInput arg0, class_2505 arg1)
read(DataInput input, NbtSizeTracker tracker)
m_295332_(DataInput p_301023_, C_4937_ p_299704_)
public static void
a(tk arg0, DataOutput arg1)
writeAnyTag(Tag arg0, DataOutput arg1)
method_52893(class_2520 arg0, DataOutput arg1)
writeForPacket(NbtElement nbt, DataOutput output)
m_292740_(C_4950_ p_300328_, DataOutput p_297970_)
public static void
b(tk arg0, DataOutput arg1)
writeUnnamedTag(Tag arg0, DataOutput arg1)
method_10631(class_2520 arg0, DataOutput arg1)
writeUnsafe(NbtElement nbt, DataOutput output)
m_128950_(C_4950_ p_128951_, DataOutput p_128952_)
public static void
c(tk arg0, DataOutput arg1)
writeUnnamedTagWithFallback(Tag arg0, DataOutput arg1)
method_55324(class_2520 arg0, DataOutput arg1)
write(NbtElement nbt, DataOutput output)
m_306638_(C_4950_ p_310490_, DataOutput p_311501_)
private static Tag
c(DataInput arg0, sw arg1)
readUnnamedTag(DataInput arg0, NbtAccounter arg1)
method_10626(DataInput arg0, class_2505 arg1)
readElement(DataInput input, NbtSizeTracker tracker)
m_128930_(DataInput p_128931_, C_4937_ p_128933_)
private static Tag
a(DataInput arg0, sw arg1, byte arg2)
readTagSafe(DataInput arg0, NbtAccounter arg1, byte arg2)
method_52892(DataInput arg0, class_2505 arg1, byte arg2)
readElement(DataInput input, NbtSizeTracker tracker, byte typeId)
m_292742_(DataInput p_299672_, C_4937_ p_299171_, byte p_300451_)