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 named net/minecraft/command/CommandFunctionAction
intermediary net/minecraft/class_8862
official hz
-
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 named function
Lnet/minecraft/command/CommandFunctionAction;function:Lnet/minecraft/server/function/Procedure;
intermediary field_46747
Lnet/minecraft/class_8862;field_46747:Lnet/minecraft/class_8868;
official a
Lhz;a:Lii;
-
returnValueConsumer
- Mappings:
Namespace Name Mixin selector named returnValueConsumer
Lnet/minecraft/command/CommandFunctionAction;returnValueConsumer:Lnet/minecraft/command/ReturnValueConsumer;
intermediary field_47166
Lnet/minecraft/class_8862;field_47166:Lnet/minecraft/class_8935;
official b
Lhz;b:Leq;
-
propagateReturn
private final boolean propagateReturn- Mappings:
Namespace Name Mixin selector named propagateReturn
Lnet/minecraft/command/CommandFunctionAction;propagateReturn:Z
intermediary field_47167
Lnet/minecraft/class_8862;field_47167:Z
official c
Lhz;c:Z
-
-
Constructor Details
-
CommandFunctionAction
public CommandFunctionAction(Procedure<T> function, ReturnValueConsumer returnValueConsumer, boolean propagateReturn) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/command/CommandFunctionAction;<init>(Lnet/minecraft/server/function/Procedure;Lnet/minecraft/command/ReturnValueConsumer;Z)V
intermediary <init>
Lnet/minecraft/class_8862;<init>(Lnet/minecraft/class_8868;Lnet/minecraft/class_8935;Z)V
official <init>
Lhz;<init>(Lii;Leq;Z)V
-
-
Method Details
-
execute
- Specified by:
execute
in interfaceSourcedCommandAction<T extends AbstractServerCommandSource<T>>
- Mappings:
Namespace Name Mixin selector named execute
Lnet/minecraft/command/CommandFunctionAction;execute(Lnet/minecraft/server/command/AbstractServerCommandSource;Lnet/minecraft/command/CommandExecutionContext;Lnet/minecraft/command/Frame;)V
intermediary method_54851
Lnet/minecraft/class_8862;method_54851(Lnet/minecraft/class_8839;Lnet/minecraft/class_8854;Lnet/minecraft/class_8937;)V
official a
Lhz;a(Lev;Lhs;Lhu;)V
-