Uses of Interface
net.minecraft.nbt.scanner.NbtScanner
Package
Description
The Named Binary Tag (NBT) data format.
-
Uses of NbtScanner in net.minecraft.nbt
Modifier and TypeMethodDescriptiondefault void
NbtElement.accept
(NbtScanner visitor) default void
NbtType.accept
(DataInput input, NbtScanner visitor, NbtTagSizeTracker tracker) NbtByte.doAccept
(NbtScanner visitor) NbtByteArray.doAccept
(NbtScanner visitor) NbtCompound.doAccept
(NbtScanner visitor) NbtDouble.doAccept
(NbtScanner visitor) NbtElement.doAccept
(NbtScanner visitor) NbtEnd.doAccept
(NbtScanner visitor) NbtFloat.doAccept
(NbtScanner visitor) NbtInt.doAccept
(NbtScanner visitor) NbtIntArray.doAccept
(NbtScanner visitor) NbtList.doAccept
(NbtScanner visitor) NbtLong.doAccept
(NbtScanner visitor) NbtLongArray.doAccept
(NbtScanner visitor) NbtShort.doAccept
(NbtScanner visitor) NbtString.doAccept
(NbtScanner visitor) NbtType.doAccept
(DataInput input, NbtScanner visitor, NbtTagSizeTracker tracker) static void
NbtIo.scan
(DataInput input, NbtScanner scanner, NbtTagSizeTracker tracker) Scans the NBT input usingscanner
.static void
NbtIo.scanCompressed
(File file, NbtScanner scanner, NbtTagSizeTracker tracker) Scans the compressed NBT file usingscanner
.static void
NbtIo.scanCompressed
(InputStream stream, NbtScanner scanner, NbtTagSizeTracker tracker) Scans the compressed NBT stream usingscanner
. -
Uses of NbtScanner in net.minecraft.nbt.scanner
Modifier and TypeInterfaceDescriptioninterface
A simple NBT scanner visits all elements shallowly, allowing implementations to override it and perform more actions.Modifier and TypeClassDescriptionclass
An exclusive NBT collector builds an NBT object including everything except the prescribed queries.class
An NBT collector scans an NBT structure and builds an object representation out of it.class
A selective NBT collector builds an NBT object including only the prescribed queries. -
Uses of NbtScanner in net.minecraft.world.storage
Modifier and TypeMethodDescriptionNbtScannable.scanChunk
(ChunkPos pos, NbtScanner scanner) void
RegionBasedStorage.scanChunk
(ChunkPos chunkPos, NbtScanner scanner) StorageIoWorker.scanChunk
(ChunkPos pos, NbtScanner scanner)