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 hz
  • Field Details

    • controlConsumer

      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 Lhz;a:Ljava/util/function/Consumer;
    • returnValueConsumer

      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 Lhz;b:Lem;
  • Constructor Details

    • IsolatedCommandAction

      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> Lhz;<init>(Ljava/util/function/Consumer;Lem;)V
  • Method Details

    • execute

      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 Lhn;execute(Lho;Lhq;)V