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
official gw
intermediary net/minecraft/class_8863
named net/minecraft/command/SteppedCommandAction
  • Field Details

    • wrapper

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

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

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

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

    • SteppedCommandAction

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

    • execute

      public void execute(CommandExecutionContext<T> context, Frame frame)
      Specified by:
      execute in interface CommandAction<T>
      Mappings:
      Namespace Name Mixin selector
      official execute Lgn;execute(Lgo;Lgq;)V
      intermediary execute Lnet/minecraft/class_8853;execute(Lnet/minecraft/class_8854;Lnet/minecraft/class_8937;)V
      named execute Lnet/minecraft/command/CommandAction;execute(Lnet/minecraft/command/CommandExecutionContext;Lnet/minecraft/command/Frame;)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
      official a Lgw;a(Lgo;Lgq;Ljava/util/List;Lgw$a;)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
      named enqueueCommands Lnet/minecraft/command/SteppedCommandAction;enqueueCommands(Lnet/minecraft/command/CommandExecutionContext;Lnet/minecraft/command/Frame;Ljava/util/List;Lnet/minecraft/command/SteppedCommandAction$ActionWrapper;)V