Uses of Class
net.minecraft.nbt.NbtSizeTracker
-
Uses of NbtSizeTracker in net.minecraft.nbt
Modifier and TypeMethodDescriptionstatic NbtSizeTracker
NbtSizeTracker.of
(long maxBytes) static NbtSizeTracker
NbtSizeTracker.ofUnlimitedBytes()
Modifier and TypeMethodDescriptiondefault void
NbtType.accept
(DataInput input, NbtScanner visitor, NbtSizeTracker tracker) NbtType.doAccept
(DataInput input, NbtScanner visitor, NbtSizeTracker tracker) (package private) static NbtElement
NbtCompound.read
(NbtType<?> reader, String key, DataInput input, NbtSizeTracker tracker) static NbtElement
NbtIo.read
(DataInput input, NbtSizeTracker tracker) Reads an NBT element frominput
.NbtType.read
(DataInput input, NbtSizeTracker tracker) static NbtCompound
NbtIo.readCompound
(DataInput input, NbtSizeTracker tracker) Reads an NBT compound frominput
.static NbtCompound
NbtIo.readCompressed
(InputStream stream, NbtSizeTracker tagSizeTracker) Reads an NBT compound from Gzip-compressedstream
.static NbtCompound
NbtIo.readCompressed
(Path path, NbtSizeTracker tagSizeTracker) Reads an NBT compound from Gzip-compressed file atpath
.private static NbtElement
NbtIo.readElement
(DataInput input, NbtSizeTracker tracker) private static NbtElement
NbtIo.readElement
(DataInput input, NbtSizeTracker tracker, byte typeId) static void
NbtIo.scan
(DataInput input, NbtScanner scanner, NbtSizeTracker tracker) Scans the NBT input usingscanner
.static void
NbtIo.scanCompressed
(InputStream stream, NbtScanner scanner, NbtSizeTracker tracker) Scans the compressed NBT stream usingscanner
.static void
NbtIo.scanCompressed
(Path path, NbtScanner scanner, NbtSizeTracker tracker) Scans the compressed NBT file usingscanner
.default void
NbtType.OfFixedSize.skip
(DataInput input, int count, NbtSizeTracker tracker) default void
NbtType.OfFixedSize.skip
(DataInput input, NbtSizeTracker tracker) default void
NbtType.OfVariableSize.skip
(DataInput input, int count, NbtSizeTracker tracker) void
NbtType.skip
(DataInput input, int count, NbtSizeTracker tracker) void
NbtType.skip
(DataInput input, NbtSizeTracker tracker) -
Uses of NbtSizeTracker in net.minecraft.network
Modifier and TypeMethodDescription<T> T
PacketByteBuf.decode
(com.mojang.serialization.DynamicOps<NbtElement> ops, com.mojang.serialization.Codec<T> codec, NbtSizeTracker sizeTracker) Deprecated.PacketByteBuf.readNbt
(NbtSizeTracker sizeTracker) Reads an NBT element from this buf.