Class SelectiveNbtCollector

java.lang.Object
net.minecraft.nbt.scanner.NbtCollector
net.minecraft.nbt.scanner.SelectiveNbtCollector
All Implemented Interfaces:
NbtScanner

public class SelectiveNbtCollector extends NbtCollector
A selective NBT collector builds an NBT object including only the prescribed queries.
See Also:
Mappings:
Namespace Name
named net/minecraft/nbt/scanner/SelectiveNbtCollector
intermediary net/minecraft/class_6841
official vf
  • Field Details

    • queriesLeft

      private int queriesLeft
      Mappings:
      Namespace Name Mixin selector
      named queriesLeft Lnet/minecraft/nbt/scanner/SelectiveNbtCollector;queriesLeft:I
      intermediary field_36258 Lnet/minecraft/class_6841;field_36258:I
      official a Lvf;a:I
    • allPossibleTypes

      private final Set<NbtType<?>> allPossibleTypes
      Mappings:
      Namespace Name Mixin selector
      named allPossibleTypes Lnet/minecraft/nbt/scanner/SelectiveNbtCollector;allPossibleTypes:Ljava/util/Set;
      intermediary field_36259 Lnet/minecraft/class_6841;field_36259:Ljava/util/Set;
      official b Lvf;b:Ljava/util/Set;
    • selectionStack

      private final Deque<NbtTreeNode> selectionStack
      Mappings:
      Namespace Name Mixin selector
      named selectionStack Lnet/minecraft/nbt/scanner/SelectiveNbtCollector;selectionStack:Ljava/util/Deque;
      intermediary field_36260 Lnet/minecraft/class_6841;field_36260:Ljava/util/Deque;
      official c Lvf;c:Ljava/util/Deque;
  • Constructor Details

    • SelectiveNbtCollector

      public SelectiveNbtCollector(NbtScanQuery[] queries)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/nbt/scanner/SelectiveNbtCollector;<init>([Lnet/minecraft/nbt/scanner/NbtScanQuery;)V
      intermediary <init> Lnet/minecraft/class_6841;<init>([Lnet/minecraft/class_6843;)V
      official <init> Lvf;<init>([Lvh;)V
  • Method Details