Interface CommandAction<T>

All Known Implementing Classes:
FallthroughCommandAction, IsolatedCommandAction, SingleCommandAction.MultiSource, SingleCommandAction.SingleSource, SteppedCommandAction
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface CommandAction<T>
Mappings:
Namespace Name
named net/minecraft/command/CommandAction
intermediary net/minecraft/class_8853
official hr
  • Method Details

    • execute

      void execute(CommandExecutionContext<T> context, Frame frame)
      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