Interface SourcedCommandAction<T>

All Known Implementing Classes:
CommandFunctionAction, FixedCommandAction, SingleCommandAction.Sourced
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 SourcedCommandAction<T>
Mappings:
Namespace Name
named net/minecraft/command/SourcedCommandAction
intermediary net/minecraft/class_8856
official hs
  • Method Details

    • execute

      void execute(T source, CommandExecutionContext<T> context, Frame frame)
      Mappings:
      Namespace Name Mixin selector
      named execute Lnet/minecraft/command/SourcedCommandAction;execute(Ljava/lang/Object;Lnet/minecraft/command/CommandExecutionContext;Lnet/minecraft/command/Frame;)V
      intermediary execute Lnet/minecraft/class_8856;execute(Ljava/lang/Object;Lnet/minecraft/class_8854;Lnet/minecraft/class_8937;)V
      official execute Lhs;execute(Ljava/lang/Object;Lho;Lhq;)V
    • bind

      default CommandAction<T> bind(T source)
      Mappings:
      Namespace Name Mixin selector
      named bind Lnet/minecraft/command/SourcedCommandAction;bind(Ljava/lang/Object;)Lnet/minecraft/command/CommandAction;
      intermediary bind Lnet/minecraft/class_8856;bind(Ljava/lang/Object;)Lnet/minecraft/class_8853;
      official bind Lhs;bind(Ljava/lang/Object;)Lhn;