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.
Mappings:
Namespace Name
official pc
intermediary net/minecraft/class_6841
named net/minecraft/nbt/scanner/SelectiveNbtCollector
  • Field Details

    • queriesLeft

      private int queriesLeft
      Mappings:
      Namespace Name Mixin selector
      official a Lpc;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 Lpc;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<SelectiveNbtCollector.Tree> selectionStack
      Mappings:
      Namespace Name Mixin selector
      official c Lpc;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(SelectiveNbtCollector.Query[] queries)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lpc;<init>([Lpc$b;)V
      intermediary <init> Lnet/minecraft/class_6841;<init>([Lnet/minecraft/class_6841$class_6843;)V
      named <init> Lnet/minecraft/nbt/scanner/SelectiveNbtCollector;<init>([Lnet/minecraft/nbt/scanner/SelectiveNbtCollector$Query;)V
  • Method Details