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 ia
  • 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 Lia;a:Lia$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 Lia;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 Lia;c:Lho;
    • 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 Lia;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> Lia;<init>(Lia$a;Ljava/util/List;Lhu;)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 Lhr;execute(Lhs;Lhu;)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 Lia;a(Lhs;Lhu;Ljava/util/List;Lia$a;)V