Class Macro.FixedLine<T>

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

static class Macro.FixedLine<T> extends Object implements Macro.Line<T>
Mappings:
Namespace Name
official he$c
intermediary net/minecraft/class_8641$class_8871
named net/minecraft/server/function/Macro$FixedLine
  • Field Details

    • action

      private final SourcedCommandAction<T> action
      Mappings:
      Namespace Name Mixin selector
      official a Lhe$c;a:Lgs;
      intermediary field_46762 Lnet/minecraft/class_8641$class_8871;field_46762:Lnet/minecraft/class_8856;
      named action Lnet/minecraft/server/function/Macro$FixedLine;action:Lnet/minecraft/command/SourcedCommandAction;
  • Constructor Details

    • FixedLine

      public FixedLine(SourcedCommandAction<T> action)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lhe$c;<init>(Lgs;)V
      intermediary <init> Lnet/minecraft/class_8641$class_8871;<init>(Lnet/minecraft/class_8856;)V
      named <init> Lnet/minecraft/server/function/Macro$FixedLine;<init>(Lnet/minecraft/command/SourcedCommandAction;)V
  • Method Details

    • getDependentVariables

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

      public SourcedCommandAction<T> instantiate(List<String> args, com.mojang.brigadier.CommandDispatcher<T> dispatcher, T source, Identifier id)
      Specified by:
      instantiate in interface Macro.Line<T>
      Mappings:
      Namespace Name Mixin selector
      official a Lhe$a;a(Ljava/util/List;Lcom/mojang/brigadier/CommandDispatcher;Ljava/lang/Object;Lahg;)Lgs;
      intermediary method_54429 Lnet/minecraft/class_8641$class_8869;method_54429(Ljava/util/List;Lcom/mojang/brigadier/CommandDispatcher;Ljava/lang/Object;Lnet/minecraft/class_2960;)Lnet/minecraft/class_8856;
      named instantiate Lnet/minecraft/server/function/Macro$Line;instantiate(Ljava/util/List;Lcom/mojang/brigadier/CommandDispatcher;Ljava/lang/Object;Lnet/minecraft/util/Identifier;)Lnet/minecraft/command/SourcedCommandAction;