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 gu
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 Lgu;a:Lgu$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 Lgu;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 Lgu;c:Lgj;
      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 Lgu;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, int depth)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lgu;<init>(Lgu$a;Ljava/util/List;I)V
      intermediary <init> Lnet/minecraft/class_8863;<init>(Lnet/minecraft/class_8863$class_8864;Ljava/util/List;I)V
      named <init> Lnet/minecraft/command/SteppedCommandAction;<init>(Lnet/minecraft/command/SteppedCommandAction$ActionWrapper;Ljava/util/List;I)V
  • Method Details

    • execute

      public void execute(CommandExecutionContext<T> context, int depth)
      Specified by:
      execute in interface CommandAction<T>
      Mappings:
      Namespace Name Mixin selector
      official execute Lgm;execute(Lgn;I)V
      intermediary execute Lnet/minecraft/class_8853;execute(Lnet/minecraft/class_8854;I)V
      named execute Lnet/minecraft/command/CommandAction;execute(Lnet/minecraft/command/CommandExecutionContext;I)V
    • enqueueCommands

      public static <T, P> void enqueueCommands(CommandExecutionContext<T> context, int depth, List<P> actions, SteppedCommandAction.ActionWrapper<T,P> wrapper)
      Mappings:
      Namespace Name Mixin selector
      official a Lgu;a(Lgn;ILjava/util/List;Lgu$a;)V
      intermediary method_54414 Lnet/minecraft/class_8863;method_54414(Lnet/minecraft/class_8854;ILjava/util/List;Lnet/minecraft/class_8863$class_8864;)V
      named enqueueCommands Lnet/minecraft/command/SteppedCommandAction;enqueueCommands(Lnet/minecraft/command/CommandExecutionContext;ILjava/util/List;Lnet/minecraft/command/SteppedCommandAction$ActionWrapper;)V