Class Macro.VariableLine<T extends AbstractServerCommandSource<T>>

java.lang.Object
net.minecraft.server.function.Macro.VariableLine<T>
All Implemented Interfaces:
Macro.Line<T>
Enclosing class:
Macro<T extends AbstractServerCommandSource<T>>

static class Macro.VariableLine<T extends AbstractServerCommandSource<T>> extends Object implements Macro.Line<T>
Mappings:
Namespace Name
named net/minecraft/server/function/Macro$VariableLine
intermediary net/minecraft/class_8641$class_8870
official in$b
  • Field Details

    • invocation

      private final MacroInvocation invocation
      Mappings:
      Namespace Name Mixin selector
      named invocation Lnet/minecraft/server/function/Macro$VariableLine;invocation:Lnet/minecraft/command/MacroInvocation;
      intermediary field_46760 Lnet/minecraft/class_8641$class_8870;field_46760:Lnet/minecraft/class_8873;
      official a Lin$b;a:Lip;
    • variableIndices

      private final IntList variableIndices
      Mappings:
      Namespace Name Mixin selector
      named variableIndices Lnet/minecraft/server/function/Macro$VariableLine;variableIndices:Lit/unimi/dsi/fastutil/ints/IntList;
      intermediary field_46761 Lnet/minecraft/class_8641$class_8870;field_46761:Lit/unimi/dsi/fastutil/ints/IntList;
      official b Lin$b;b:Lit/unimi/dsi/fastutil/ints/IntList;
    • source

      private final T extends AbstractServerCommandSource<T> source
      Mappings:
      Namespace Name Mixin selector
      named source Lnet/minecraft/server/function/Macro$VariableLine;source:Lnet/minecraft/server/command/AbstractServerCommandSource;
      intermediary field_47891 Lnet/minecraft/class_8641$class_8870;field_47891:Lnet/minecraft/class_8839;
      official c Lin$b;c:Ley;
  • Constructor Details

    • VariableLine

      public VariableLine(MacroInvocation invocation, IntList variableIndices, T source)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/server/function/Macro$VariableLine;<init>(Lnet/minecraft/command/MacroInvocation;Lit/unimi/dsi/fastutil/ints/IntList;Lnet/minecraft/server/command/AbstractServerCommandSource;)V
      intermediary <init> Lnet/minecraft/class_8641$class_8870;<init>(Lnet/minecraft/class_8873;Lit/unimi/dsi/fastutil/ints/IntList;Lnet/minecraft/class_8839;)V
      official <init> Lin$b;<init>(Lip;Lit/unimi/dsi/fastutil/ints/IntList;Ley;)V
  • Method Details

    • getDependentVariables

      public IntList getDependentVariables()
      Specified by:
      getDependentVariables in interface Macro.Line<T extends AbstractServerCommandSource<T>>
      Mappings:
      Namespace Name Mixin selector
      named getDependentVariables Lnet/minecraft/server/function/Macro$Line;getDependentVariables()Lit/unimi/dsi/fastutil/ints/IntList;
      intermediary method_54428 Lnet/minecraft/class_8641$class_8869;method_54428()Lit/unimi/dsi/fastutil/ints/IntList;
      official a Lin$a;a()Lit/unimi/dsi/fastutil/ints/IntList;
    • instantiate

      public SourcedCommandAction<T> instantiate(List<String> args, com.mojang.brigadier.CommandDispatcher<T> dispatcher, Identifier id) throws MacroException
      Specified by:
      instantiate in interface Macro.Line<T extends AbstractServerCommandSource<T>>
      Throws:
      MacroException
      Mappings:
      Namespace Name Mixin selector
      named instantiate Lnet/minecraft/server/function/Macro$Line;instantiate(Ljava/util/List;Lcom/mojang/brigadier/CommandDispatcher;Lnet/minecraft/util/Identifier;)Lnet/minecraft/command/SourcedCommandAction;
      intermediary method_54429 Lnet/minecraft/class_8641$class_8869;method_54429(Ljava/util/List;Lcom/mojang/brigadier/CommandDispatcher;Lnet/minecraft/class_2960;)Lnet/minecraft/class_8856;
      official a Lin$a;a(Ljava/util/List;Lcom/mojang/brigadier/CommandDispatcher;Lalz;)Lia;