Package net.minecraft.nbt.scanner
Class ExclusiveNbtCollector
java.lang.Object
net.minecraft.nbt.scanner.NbtCollector
net.minecraft.nbt.scanner.ExclusiveNbtCollector
- All Implemented Interfaces:
NbtScanner
An exclusive NBT collector builds an NBT object including everything
except the prescribed queries.
- See Also:
- Mappings:
Namespace Name named net/minecraft/nbt/scanner/ExclusiveNbtCollector
intermediary net/minecraft/class_6856
official wg
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.nbt.scanner.NbtScanner
NbtScanner.NestedResult, NbtScanner.Result
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionEnds a nested visit.startSubNbt
(NbtType<?> type, String key) Starts a visit to an NBT structure in the sub NBT of a compound NBT.Methods inherited from class net.minecraft.nbt.scanner.NbtCollector
getDepth, getRoot, start, startListItem, visitByte, visitByteArray, visitDouble, visitEnd, visitFloat, visitInt, visitIntArray, visitListMeta, visitLong, visitLongArray, visitShort, visitString, visitSubNbtType
-
Field Details
-
treeStack
- Mappings:
Namespace Name Mixin selector named treeStack
Lnet/minecraft/nbt/scanner/ExclusiveNbtCollector;treeStack:Ljava/util/Deque;
intermediary field_36378
Lnet/minecraft/class_6856;field_36378:Ljava/util/Deque;
official a
Lwg;a:Ljava/util/Deque;
-
-
Constructor Details
-
ExclusiveNbtCollector
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/nbt/scanner/ExclusiveNbtCollector;<init>([Lnet/minecraft/nbt/scanner/NbtScanQuery;)V
intermediary <init>
Lnet/minecraft/class_6856;<init>([Lnet/minecraft/class_6843;)V
official <init>
Lwg;<init>([Lwd;)V
-
-
Method Details
-
startSubNbt
Starts a visit to an NBT structure in the sub NBT of a compound NBT.- Specified by:
startSubNbt
in interfaceNbtScanner
- Overrides:
startSubNbt
in classNbtCollector
- See Also:
- Mappings:
Namespace Name Mixin selector named startSubNbt
Lnet/minecraft/nbt/scanner/NbtScanner;startSubNbt(Lnet/minecraft/nbt/NbtType;Ljava/lang/String;)Lnet/minecraft/nbt/scanner/NbtScanner$NestedResult;
intermediary method_39865
Lnet/minecraft/class_6836;method_39865(Lnet/minecraft/class_4614;Ljava/lang/String;)Lnet/minecraft/class_6836$class_6837;
official a
Lvr;a(Lvw;Ljava/lang/String;)Lvr$a;
-
endNested
Ends a nested visit.This is guaranteed to be called once for each call to
NbtCollector.start(net.minecraft.nbt.NbtType<?>)
,NbtCollector.visitSubNbtType(net.minecraft.nbt.NbtType<?>)
, andNbtCollector.startListItem(net.minecraft.nbt.NbtType<?>, int)
where the list or the compound NBT type is passed, unless the visit is halted.- Specified by:
endNested
in interfaceNbtScanner
- Overrides:
endNested
in classNbtCollector
- Mappings:
Namespace Name Mixin selector named endNested
Lnet/minecraft/nbt/scanner/NbtScanner;endNested()Lnet/minecraft/nbt/scanner/NbtScanner$Result;
intermediary method_39870
Lnet/minecraft/class_6836;method_39870()Lnet/minecraft/class_6836$class_6838;
official b
Lvr;b()Lvr$b;
-