Package net.minecraft.nbt.scanner
Class SelectiveNbtCollector
java.lang.Object
net.minecraft.nbt.scanner.NbtCollector
net.minecraft.nbt.scanner.SelectiveNbtCollector
- All Implemented Interfaces:
 NbtScanner
A selective NBT collector builds an NBT object including only the
 prescribed queries.
- See Also:
 - Mappings:
 Namespace Name named net/minecraft/nbt/scanner/SelectiveNbtCollectorintermediary net/minecraft/class_6841official vp
- 
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.intStarts a visit to an NBT structure.startSubNbt(NbtType<?> type, String key) Starts a visit to an NBT structure in the sub NBT of a compound NBT.visitSubNbtType(NbtType<?> type) Methods inherited from class net.minecraft.nbt.scanner.NbtCollector
getDepth, getRoot, startListItem, visitByte, visitByteArray, visitDouble, visitEnd, visitFloat, visitInt, visitIntArray, visitListMeta, visitLong, visitLongArray, visitShort, visitString 
- 
Field Details
- 
queriesLeft
private int queriesLeft- Mappings:
 Namespace Name Mixin selector named queriesLeftLnet/minecraft/nbt/scanner/SelectiveNbtCollector;queriesLeft:Iintermediary field_36258Lnet/minecraft/class_6841;field_36258:Iofficial aLvp;a:I
 - 
allPossibleTypes
- Mappings:
 Namespace Name Mixin selector named allPossibleTypesLnet/minecraft/nbt/scanner/SelectiveNbtCollector;allPossibleTypes:Ljava/util/Set;intermediary field_36259Lnet/minecraft/class_6841;field_36259:Ljava/util/Set;official bLvp;b:Ljava/util/Set;
 - 
selectionStack
- Mappings:
 Namespace Name Mixin selector named selectionStackLnet/minecraft/nbt/scanner/SelectiveNbtCollector;selectionStack:Ljava/util/Deque;intermediary field_36260Lnet/minecraft/class_6841;field_36260:Ljava/util/Deque;official cLvp;c:Ljava/util/Deque;
 
 - 
 - 
Constructor Details
- 
SelectiveNbtCollector
- Mappings:
 Namespace Name Mixin selector named <init>Lnet/minecraft/nbt/scanner/SelectiveNbtCollector;<init>([Lnet/minecraft/nbt/scanner/NbtScanQuery;)Vintermediary <init>Lnet/minecraft/class_6841;<init>([Lnet/minecraft/class_6843;)Vofficial <init>Lvp;<init>([Lvr;)V
 
 - 
 - 
Method Details
- 
start
Starts a visit to an NBT structure.- Specified by:
 startin interfaceNbtScanner- Overrides:
 startin classNbtCollector- See Also:
 - Mappings:
 Namespace Name Mixin selector named startLnet/minecraft/nbt/scanner/NbtScanner;start(Lnet/minecraft/nbt/NbtType;)Lnet/minecraft/nbt/scanner/NbtScanner$Result;intermediary method_39871Lnet/minecraft/class_6836;method_39871(Lnet/minecraft/class_4614;)Lnet/minecraft/class_6836$class_6838;official bLvf;b(Lvk;)Lvf$b;
 - 
visitSubNbtType
- Specified by:
 visitSubNbtTypein interfaceNbtScanner- Overrides:
 visitSubNbtTypein classNbtCollector- Mappings:
 Namespace Name Mixin selector named visitSubNbtTypeLnet/minecraft/nbt/scanner/NbtScanner;visitSubNbtType(Lnet/minecraft/nbt/NbtType;)Lnet/minecraft/nbt/scanner/NbtScanner$NestedResult;intermediary method_39863Lnet/minecraft/class_6836;method_39863(Lnet/minecraft/class_4614;)Lnet/minecraft/class_6836$class_6837;official aLvf;a(Lvk;)Lvf$a;
 - 
startSubNbt
Starts a visit to an NBT structure in the sub NBT of a compound NBT.- Specified by:
 startSubNbtin interfaceNbtScanner- Overrides:
 startSubNbtin classNbtCollector- See Also:
 - Mappings:
 Namespace Name Mixin selector named startSubNbtLnet/minecraft/nbt/scanner/NbtScanner;startSubNbt(Lnet/minecraft/nbt/NbtType;Ljava/lang/String;)Lnet/minecraft/nbt/scanner/NbtScanner$NestedResult;intermediary method_39865Lnet/minecraft/class_6836;method_39865(Lnet/minecraft/class_4614;Ljava/lang/String;)Lnet/minecraft/class_6836$class_6837;official aLvf;a(Lvk;Ljava/lang/String;)Lvf$a;
 - 
endNested
Ends a nested visit.This is guaranteed to be called once for each call to
start(net.minecraft.nbt.NbtType<?>),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:
 endNestedin interfaceNbtScanner- Overrides:
 endNestedin classNbtCollector- Mappings:
 Namespace Name Mixin selector named endNestedLnet/minecraft/nbt/scanner/NbtScanner;endNested()Lnet/minecraft/nbt/scanner/NbtScanner$Result;intermediary method_39870Lnet/minecraft/class_6836;method_39870()Lnet/minecraft/class_6836$class_6838;official bLvf;b()Lvf$b;
 - 
getQueriesLeft
public int getQueriesLeft()- Mappings:
 Namespace Name Mixin selector named getQueriesLeftLnet/minecraft/nbt/scanner/SelectiveNbtCollector;getQueriesLeft()Iintermediary method_39879Lnet/minecraft/class_6841;method_39879()Iofficial cLvp;c()I
 
 -