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

    • queriesLeft

      private int queriesLeft
      Mappings:
      Namespace Name Mixin selector
      official a Lpk;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 Lpk;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 Lpk;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> Lpk;<init>([Lpm;)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