Class NbtPathArgumentType.IndexedListElementNode

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

private static class NbtPathArgumentType.IndexedListElementNode extends Object implements NbtPathArgumentType.PathNode
Mappings:
Namespace Name
official ec$c
intermediary net/minecraft/class_2203$class_2206
named net/minecraft/command/argument/NbtPathArgumentType$IndexedListElementNode
  • Field Details

    • index

      private final int index
      Mappings:
      Namespace Name Mixin selector
      official a Lec$c;a:I
      intermediary field_9903 Lnet/minecraft/class_2203$class_2206;field_9903:I
      named index Lnet/minecraft/command/argument/NbtPathArgumentType$IndexedListElementNode;index:I
  • Constructor Details

    • IndexedListElementNode

      public IndexedListElementNode(int index)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lec$c;<init>(I)V
      intermediary <init> Lnet/minecraft/class_2203$class_2206;<init>(I)V
      named <init> Lnet/minecraft/command/argument/NbtPathArgumentType$IndexedListElementNode;<init>(I)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 Lec$h;a(Lri;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 Lec$h;a(Lri;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 Lec$h;a()Lri;
      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 Lec$h;a(Lri;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 Lec$h;a(Lri;)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