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
official gn
intermediary net/minecraft/class_8853
named net/minecraft/command/CommandAction
  • Method Details

    • execute

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