Class CallFunction<T extends ExecutionCommandSource<T>>
java.lang.Object
net.minecraft.commands.execution.tasks.CallFunction<T>
- All Implemented Interfaces:
UnboundEntryAction<T>
public class CallFunction<T extends ExecutionCommandSource<T>>
extends Object
implements UnboundEntryAction<T>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final InstantiatedFunction<T> private final CommandResultCallbackprivate final boolean -
Constructor Summary
ConstructorsConstructorDescriptionCallFunction(InstantiatedFunction<T> function, CommandResultCallback resultCallback, boolean returnParentFrame) -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute(T source, ExecutionContext<T> executionContext, Frame p_frame) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.commands.execution.UnboundEntryAction
bind
-
Field Details
-
function
-
resultCallback
-
returnParentFrame
private final boolean returnParentFrame
-
-
Constructor Details
-
CallFunction
public CallFunction(InstantiatedFunction<T> function, CommandResultCallback resultCallback, boolean returnParentFrame)
-
-
Method Details
-
execute
- Specified by:
executein interfaceUnboundEntryAction<T extends ExecutionCommandSource<T>>
-