Class ExecuteCommand<T extends ExecutionCommandSource<T>>
java.lang.Object
net.minecraft.commands.execution.tasks.ExecuteCommand<T>
- All Implemented Interfaces:
UnboundEntryAction<T>
public class ExecuteCommand<T extends ExecutionCommandSource<T>>
extends Object
implements UnboundEntryAction<T>
-
Field Summary
Modifier and TypeFieldDescriptionprivate final String
private final com.mojang.brigadier.context.CommandContext<T>
private final ChainModifiers
-
Constructor Summary
ConstructorDescriptionExecuteCommand
(String p_310766_, ChainModifiers p_309629_, com.mojang.brigadier.context.CommandContext<T> p_310460_) -
Method Summary
Modifier and TypeMethodDescriptionvoid
execute
(T p_310632_, ExecutionContext<T> p_310757_, Frame p_311301_) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.commands.execution.UnboundEntryAction
bind
-
Field Details
-
commandInput
-
modifiers
-
executionContext
private final com.mojang.brigadier.context.CommandContext<T extends ExecutionCommandSource<T>> executionContext
-
-
Constructor Details
-
ExecuteCommand
public ExecuteCommand(String p_310766_, ChainModifiers p_309629_, com.mojang.brigadier.context.CommandContext<T> p_310460_)
-
-
Method Details
-
execute
- Specified by:
execute
in interfaceUnboundEntryAction<T extends ExecutionCommandSource<T>>
-