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
official rx
intermediary net/minecraft/class_6841
named net/minecraft/nbt/scanner/SelectiveNbtCollector
  • Field Details

    • queriesLeft

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

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

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

    • SelectiveNbtCollector

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