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 official qo
intermediary net/minecraft/class_6856
named net/minecraft/nbt/scanner/ExclusiveNbtCollector
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.nbt.scanner.NbtScanner
NbtScanner.NestedResult, NbtScanner.Result
-
Field Summary
Fields -
Constructor Summary
Constructors -
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 official a
Lqo;a:Ljava/util/Deque;
intermediary field_36378
Lnet/minecraft/class_6856;field_36378:Ljava/util/Deque;
named treeStack
Lnet/minecraft/nbt/scanner/ExclusiveNbtCollector;treeStack:Ljava/util/Deque;
-
-
Constructor Details
-
ExclusiveNbtCollector
- Mappings:
Namespace Name Mixin selector official <init>
Lqo;<init>([Lql;)V
intermediary <init>
Lnet/minecraft/class_6856;<init>([Lnet/minecraft/class_6843;)V
named <init>
Lnet/minecraft/nbt/scanner/ExclusiveNbtCollector;<init>([Lnet/minecraft/nbt/scanner/NbtScanQuery;)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 official a
Lpz;a(Lqe;Ljava/lang/String;)Lpz$a;
intermediary method_39865
Lnet/minecraft/class_6836;method_39865(Lnet/minecraft/class_4614;Ljava/lang/String;)Lnet/minecraft/class_6836$class_6837;
named startSubNbt
Lnet/minecraft/nbt/scanner/NbtScanner;startSubNbt(Lnet/minecraft/nbt/NbtType;Ljava/lang/String;)Lnet/minecraft/nbt/scanner/NbtScanner$NestedResult;
-
endNested
Ends a nested visit.This is guaranteed to be called once for each call to
NbtScanner.start(net.minecraft.nbt.NbtType<?>)
,NbtScanner.visitSubNbtType(net.minecraft.nbt.NbtType<?>)
, andNbtScanner.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 official b
Lpz;b()Lpz$b;
intermediary method_39870
Lnet/minecraft/class_6836;method_39870()Lnet/minecraft/class_6836$class_6838;
named endNested
Lnet/minecraft/nbt/scanner/NbtScanner;endNested()Lnet/minecraft/nbt/scanner/NbtScanner$Result;
-