Class NbtPathArgumentType.NamedNode

java.lang.Object
net.minecraft.command.argument.NbtPathArgumentType.NamedNode
All Implemented Interfaces:
NbtPathArgumentType.PathNode
Enclosing class:
NbtPathArgumentType

private static class NbtPathArgumentType.NamedNode extends Object implements NbtPathArgumentType.PathNode
Mappings:
Namespace Name
named net/minecraft/command/argument/NbtPathArgumentType$NamedNode
intermediary net/minecraft/class_2203$class_2205
official fo$b
  • Field Details

    • name

      private final String name
      Mappings:
      Namespace Name Mixin selector
      named name Lnet/minecraft/command/argument/NbtPathArgumentType$NamedNode;name:Ljava/lang/String;
      intermediary field_9902 Lnet/minecraft/class_2203$class_2205;field_9902:Ljava/lang/String;
      official a Lfo$b;a:Ljava/lang/String;
  • Constructor Details

    • NamedNode

      public NamedNode(String name)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/command/argument/NbtPathArgumentType$NamedNode;<init>(Ljava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_2203$class_2205;<init>(Ljava/lang/String;)V
      official <init> Lfo$b;<init>(Ljava/lang/String;)V
  • Method Details

    • get

      public void get(NbtElement current, List<NbtElement> results)
      Specified by:
      get in interface NbtPathArgumentType.PathNode
      Mappings:
      Namespace Name Mixin selector
      named get Lnet/minecraft/command/argument/NbtPathArgumentType$PathNode;get(Lnet/minecraft/nbt/NbtElement;Ljava/util/List;)V
      intermediary method_9378 Lnet/minecraft/class_2203$class_2210;method_9378(Lnet/minecraft/class_2520;Ljava/util/List;)V
      official a Lfo$h;a(Lvu;Ljava/util/List;)V
    • getOrInit

      public void getOrInit(NbtElement current, Supplier<NbtElement> source, List<NbtElement> results)
      Specified by:
      getOrInit in interface NbtPathArgumentType.PathNode
      Mappings:
      Namespace Name Mixin selector
      named getOrInit Lnet/minecraft/command/argument/NbtPathArgumentType$PathNode;getOrInit(Lnet/minecraft/nbt/NbtElement;Ljava/util/function/Supplier;Ljava/util/List;)V
      intermediary method_9380 Lnet/minecraft/class_2203$class_2210;method_9380(Lnet/minecraft/class_2520;Ljava/util/function/Supplier;Ljava/util/List;)V
      official a Lfo$h;a(Lvu;Ljava/util/function/Supplier;Ljava/util/List;)V
    • init

      public NbtElement init()
      Specified by:
      init in interface NbtPathArgumentType.PathNode
      Mappings:
      Namespace Name Mixin selector
      named init Lnet/minecraft/command/argument/NbtPathArgumentType$PathNode;init()Lnet/minecraft/nbt/NbtElement;
      intermediary method_9382 Lnet/minecraft/class_2203$class_2210;method_9382()Lnet/minecraft/class_2520;
      official a Lfo$h;a()Lvu;
    • set

      public int set(NbtElement current, Supplier<NbtElement> source)
      Specified by:
      set in interface NbtPathArgumentType.PathNode
      Mappings:
      Namespace Name Mixin selector
      named set Lnet/minecraft/command/argument/NbtPathArgumentType$PathNode;set(Lnet/minecraft/nbt/NbtElement;Ljava/util/function/Supplier;)I
      intermediary method_9376 Lnet/minecraft/class_2203$class_2210;method_9376(Lnet/minecraft/class_2520;Ljava/util/function/Supplier;)I
      official a Lfo$h;a(Lvu;Ljava/util/function/Supplier;)I
    • clear

      public int clear(NbtElement current)
      Specified by:
      clear in interface NbtPathArgumentType.PathNode
      Mappings:
      Namespace Name Mixin selector
      named clear Lnet/minecraft/command/argument/NbtPathArgumentType$PathNode;clear(Lnet/minecraft/nbt/NbtElement;)I
      intermediary method_9383 Lnet/minecraft/class_2203$class_2210;method_9383(Lnet/minecraft/class_2520;)I
      official a Lfo$h;a(Lvu;)I