Class SteppedCommandAction<T,P>

java.lang.Object
net.minecraft.command.SteppedCommandAction<T,P>
All Implemented Interfaces:
CommandAction<T>

public class SteppedCommandAction<T,P> extends Object implements CommandAction<T>
Mappings:
Namespace Name
named net/minecraft/command/SteppedCommandAction
intermediary net/minecraft/class_8863
official hw
  • Field Details

    • wrapper

      private final SteppedCommandAction.ActionWrapper<T,P> wrapper
      Mappings:
      Namespace Name Mixin selector
      named wrapper Lnet/minecraft/command/SteppedCommandAction;wrapper:Lnet/minecraft/command/SteppedCommandAction$ActionWrapper;
      intermediary field_46748 Lnet/minecraft/class_8863;field_46748:Lnet/minecraft/class_8863$class_8864;
      official a Lhw;a:Lhw$a;
    • actions

      private final List<P> actions
      Mappings:
      Namespace Name Mixin selector
      named actions Lnet/minecraft/command/SteppedCommandAction;actions:Ljava/util/List;
      intermediary field_46749 Lnet/minecraft/class_8863;field_46749:Ljava/util/List;
      official b Lhw;b:Ljava/util/List;
    • selfCommandQueueEntry

      private final CommandQueueEntry<T> selfCommandQueueEntry
      Mappings:
      Namespace Name Mixin selector
      named selfCommandQueueEntry Lnet/minecraft/command/SteppedCommandAction;selfCommandQueueEntry:Lnet/minecraft/command/CommandQueueEntry;
      intermediary field_46750 Lnet/minecraft/class_8863;field_46750:Lnet/minecraft/class_8847;
      official c Lhw;c:Lhk;
    • nextActionIndex

      private int nextActionIndex
      Mappings:
      Namespace Name Mixin selector
      named nextActionIndex Lnet/minecraft/command/SteppedCommandAction;nextActionIndex:I
      intermediary field_46751 Lnet/minecraft/class_8863;field_46751:I
      official d Lhw;d:I
  • Constructor Details

    • SteppedCommandAction

      private SteppedCommandAction(SteppedCommandAction.ActionWrapper<T,P> wrapper, List<P> actions, Frame frame)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/command/SteppedCommandAction;<init>(Lnet/minecraft/command/SteppedCommandAction$ActionWrapper;Ljava/util/List;Lnet/minecraft/command/Frame;)V
      intermediary <init> Lnet/minecraft/class_8863;<init>(Lnet/minecraft/class_8863$class_8864;Ljava/util/List;Lnet/minecraft/class_8937;)V
      official <init> Lhw;<init>(Lhw$a;Ljava/util/List;Lhq;)V
  • Method Details

    • execute

      public void execute(CommandExecutionContext<T> context, Frame frame)
      Specified by:
      execute in interface CommandAction<T>
      Mappings:
      Namespace Name Mixin selector
      named execute Lnet/minecraft/command/CommandAction;execute(Lnet/minecraft/command/CommandExecutionContext;Lnet/minecraft/command/Frame;)V
      intermediary execute Lnet/minecraft/class_8853;execute(Lnet/minecraft/class_8854;Lnet/minecraft/class_8937;)V
      official execute Lhn;execute(Lho;Lhq;)V
    • enqueueCommands

      public static <T, P> void enqueueCommands(CommandExecutionContext<T> context, Frame frame, List<P> actions, SteppedCommandAction.ActionWrapper<T,P> wrapper)
      Mappings:
      Namespace Name Mixin selector
      named enqueueCommands Lnet/minecraft/command/SteppedCommandAction;enqueueCommands(Lnet/minecraft/command/CommandExecutionContext;Lnet/minecraft/command/Frame;Ljava/util/List;Lnet/minecraft/command/SteppedCommandAction$ActionWrapper;)V
      intermediary method_54414 Lnet/minecraft/class_8863;method_54414(Lnet/minecraft/class_8854;Lnet/minecraft/class_8937;Ljava/util/List;Lnet/minecraft/class_8863$class_8864;)V
      official a Lhw;a(Lho;Lhq;Ljava/util/List;Lhw$a;)V