Class NbtPathArgumentType.NamedNode

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

static class NbtPathArgumentType.NamedNode
extends Object
implements NbtPathArgumentType.PathNode
Mappings:
Namespace Name
official dr$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 Ldr$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> Ldr$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​(Tag current, List<Tag> results)
      Specified by:
      get in interface NbtPathArgumentType.PathNode
      Mappings:
      Namespace Name Mixin selector
      official a Ldr$h;a(Lni;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/Tag;Ljava/util/List;)V
    • getOrInit

      public void getOrInit​(Tag current, Supplier<Tag> source, List<Tag> results)
      Specified by:
      getOrInit in interface NbtPathArgumentType.PathNode
      Mappings:
      Namespace Name Mixin selector
      official a Ldr$h;a(Lni;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/Tag;Ljava/util/function/Supplier;Ljava/util/List;)V
    • init

      public Tag init()
      Specified by:
      init in interface NbtPathArgumentType.PathNode
      Mappings:
      Namespace Name Mixin selector
      official a Ldr$h;a()Lni;
      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/Tag;
    • set

      public int set​(Tag current, Supplier<Tag> source)
      Specified by:
      set in interface NbtPathArgumentType.PathNode
      Mappings:
      Namespace Name Mixin selector
      official a Ldr$h;a(Lni;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/Tag;Ljava/util/function/Supplier;)I
    • clear

      public int clear​(Tag current)
      Specified by:
      clear in interface NbtPathArgumentType.PathNode
      Mappings:
      Namespace Name Mixin selector
      official a Ldr$h;a(Lni;)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/Tag;)I