Package net.minecraft.command
Class CommandFunctionAction<T extends AbstractServerCommandSource<T>>
java.lang.Object
net.minecraft.command.CommandFunctionAction<T>
- All Implemented Interfaces:
SourcedCommandAction<T>
public class CommandFunctionAction<T extends AbstractServerCommandSource<T>>
extends Object
implements SourcedCommandAction<T>
- Mappings:
Namespace Name official gv
intermediary net/minecraft/class_8862
named net/minecraft/command/CommandFunctionAction
-
Field Summary
-
Constructor Summary
ConstructorDescriptionCommandFunctionAction
(Procedure<T> function, ReturnValueConsumer returnValueConsumer, boolean propagateReturn) -
Method Summary
Modifier and TypeMethodDescriptionvoid
execute
(T t, CommandExecutionContext<T> commandExecutionContext, Frame frame) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.command.SourcedCommandAction
bind
-
Field Details
-
function
- Mappings:
Namespace Name Mixin selector official a
Lgv;a:Lhd;
intermediary field_46747
Lnet/minecraft/class_8862;field_46747:Lnet/minecraft/class_8868;
named function
Lnet/minecraft/command/CommandFunctionAction;function:Lnet/minecraft/server/function/Procedure;
-
returnValueConsumer
- Mappings:
Namespace Name Mixin selector official b
Lgv;b:Ldp;
intermediary field_47166
Lnet/minecraft/class_8862;field_47166:Lnet/minecraft/class_8935;
named returnValueConsumer
Lnet/minecraft/command/CommandFunctionAction;returnValueConsumer:Lnet/minecraft/command/ReturnValueConsumer;
-
propagateReturn
private final boolean propagateReturn- Mappings:
Namespace Name Mixin selector official c
Lgv;c:Z
intermediary field_47167
Lnet/minecraft/class_8862;field_47167:Z
named propagateReturn
Lnet/minecraft/command/CommandFunctionAction;propagateReturn:Z
-
-
Constructor Details
-
CommandFunctionAction
public CommandFunctionAction(Procedure<T> function, ReturnValueConsumer returnValueConsumer, boolean propagateReturn) - Mappings:
Namespace Name Mixin selector official <init>
Lgv;<init>(Lhd;Ldp;Z)V
intermediary <init>
Lnet/minecraft/class_8862;<init>(Lnet/minecraft/class_8868;Lnet/minecraft/class_8935;Z)V
named <init>
Lnet/minecraft/command/CommandFunctionAction;<init>(Lnet/minecraft/server/function/Procedure;Lnet/minecraft/command/ReturnValueConsumer;Z)V
-
-
Method Details
-
execute
- Specified by:
execute
in interfaceSourcedCommandAction<T extends AbstractServerCommandSource<T>>
- Mappings:
Namespace Name Mixin selector official a
Lgv;a(Ldu;Lgo;Lgq;)V
intermediary method_54851
Lnet/minecraft/class_8862;method_54851(Lnet/minecraft/class_8839;Lnet/minecraft/class_8854;Lnet/minecraft/class_8937;)V
named execute
Lnet/minecraft/command/CommandFunctionAction;execute(Lnet/minecraft/server/command/AbstractServerCommandSource;Lnet/minecraft/command/CommandExecutionContext;Lnet/minecraft/command/Frame;)V
-