Package net.minecraft.command
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 official gz
intermediary net/minecraft/class_8940
named net/minecraft/command/IsolatedCommandAction
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Consumer<ExecutionControl<T>>
private final ReturnValueConsumer
-
Constructor Summary
ConstructorDescriptionIsolatedCommandAction
(Consumer<ExecutionControl<T>> controlConsumer, ReturnValueConsumer returnValueConsumer) -
Method Summary
-
Field Details
-
controlConsumer
- Mappings:
Namespace Name Mixin selector official a
Lgz;a:Ljava/util/function/Consumer;
intermediary field_47170
Lnet/minecraft/class_8940;field_47170:Ljava/util/function/Consumer;
named controlConsumer
Lnet/minecraft/command/IsolatedCommandAction;controlConsumer:Ljava/util/function/Consumer;
-
returnValueConsumer
- Mappings:
Namespace Name Mixin selector official b
Lgz;b:Ldp;
intermediary field_47171
Lnet/minecraft/class_8940;field_47171:Lnet/minecraft/class_8935;
named returnValueConsumer
Lnet/minecraft/command/IsolatedCommandAction;returnValueConsumer:Lnet/minecraft/command/ReturnValueConsumer;
-
-
Constructor Details
-
IsolatedCommandAction
public IsolatedCommandAction(Consumer<ExecutionControl<T>> controlConsumer, ReturnValueConsumer returnValueConsumer) - Mappings:
Namespace Name Mixin selector official <init>
Lgz;<init>(Ljava/util/function/Consumer;Ldp;)V
intermediary <init>
Lnet/minecraft/class_8940;<init>(Ljava/util/function/Consumer;Lnet/minecraft/class_8935;)V
named <init>
Lnet/minecraft/command/IsolatedCommandAction;<init>(Ljava/util/function/Consumer;Lnet/minecraft/command/ReturnValueConsumer;)V
-
-
Method Details
-
execute
- Specified by:
execute
in interfaceCommandAction<T extends AbstractServerCommandSource<T>>
- 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
-