Class IsolatedCommandAction<T extends AbstractServerCommandSource<T>>

java.lang.Object
net.minecraft.command.IsolatedCommandAction<T>
All Implemented Interfaces:
CommandAction<T>

public class IsolatedCommandAction<T extends AbstractServerCommandSource<T>> extends Object implements CommandAction<T>
Mappings:
Namespace Name
named net/minecraft/command/IsolatedCommandAction
intermediary net/minecraft/class_8940
official ij
  • Field Details Link icon

    • controlConsumer Link icon

      private final Consumer<ExecutionControl<T extends AbstractServerCommandSource<T>>> controlConsumer
      Mappings:
      Namespace Name Mixin selector
      named controlConsumer Lnet/minecraft/command/IsolatedCommandAction;controlConsumer:Ljava/util/function/Consumer;
      intermediary field_47170 Lnet/minecraft/class_8940;field_47170:Ljava/util/function/Consumer;
      official a Lij;a:Ljava/util/function/Consumer;
    • returnValueConsumer Link icon

      private final ReturnValueConsumer returnValueConsumer
      Mappings:
      Namespace Name Mixin selector
      named returnValueConsumer Lnet/minecraft/command/IsolatedCommandAction;returnValueConsumer:Lnet/minecraft/command/ReturnValueConsumer;
      intermediary field_47171 Lnet/minecraft/class_8940;field_47171:Lnet/minecraft/class_8935;
      official b Lij;b:Leu;
  • Constructor Details Link icon

    • IsolatedCommandAction Link icon

      public IsolatedCommandAction(Consumer<ExecutionControl<T>> controlConsumer, ReturnValueConsumer returnValueConsumer)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/command/IsolatedCommandAction;<init>(Ljava/util/function/Consumer;Lnet/minecraft/command/ReturnValueConsumer;)V
      intermediary <init> Lnet/minecraft/class_8940;<init>(Ljava/util/function/Consumer;Lnet/minecraft/class_8935;)V
      official <init> Lij;<init>(Ljava/util/function/Consumer;Leu;)V
  • Method Details Link icon

    • execute Link icon

      public void execute(CommandExecutionContext<T> context, Frame frame)
      Specified by:
      execute in interface CommandAction<T extends AbstractServerCommandSource<T>>
      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 Lhw;execute(Lhx;Lhz;)V