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 named net/minecraft/command/IsolatedCommandAction
intermediary net/minecraft/class_8940
official ii
-
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 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
Lii;a:Ljava/util/function/Consumer;
-
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
Lii;b:Let;
-
-
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>
Lii;<init>(Ljava/util/function/Consumer;Let;)V
-
-
Method Details
-
execute
- Specified by:
execute
in interfaceCommandAction<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
Lhv;execute(Lhw;Lhy;)V
-