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
official eg$b
intermediary net/minecraft/class_2203$class_2205
named net/minecraft/command/argument/NbtPathArgumentType$NamedNode
  • Field Details

    • name

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

    • NamedNode

      public NamedNode(String name)
      Mappings:
      Namespace Name Mixin selector
      official <init> Leg$b;<init>(Ljava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_2203$class_2205;<init>(Ljava/lang/String;)V
      named <init> Lnet/minecraft/command/argument/NbtPathArgumentType$NamedNode;<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
      official a Leg$h;a(Lrx;Ljava/util/List;)V
      intermediary method_9378 Lnet/minecraft/class_2203$class_2210;method_9378(Lnet/minecraft/class_2520;Ljava/util/List;)V
      named get Lnet/minecraft/command/argument/NbtPathArgumentType$PathNode;get(Lnet/minecraft/nbt/NbtElement;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
      official a Leg$h;a(Lrx;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
      named getOrInit Lnet/minecraft/command/argument/NbtPathArgumentType$PathNode;getOrInit(Lnet/minecraft/nbt/NbtElement;Ljava/util/function/Supplier;Ljava/util/List;)V
    • init

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

      public int set(NbtElement current, Supplier<NbtElement> source)
      Specified by:
      set in interface NbtPathArgumentType.PathNode
      Mappings:
      Namespace Name Mixin selector
      official a Leg$h;a(Lrx;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
      named set Lnet/minecraft/command/argument/NbtPathArgumentType$PathNode;set(Lnet/minecraft/nbt/NbtElement;Ljava/util/function/Supplier;)I
    • clear

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