Package net.minecraft.commands
Class CommandFunction.CommandEntry
java.lang.Object
net.minecraft.commands.CommandFunction.CommandEntry
- All Implemented Interfaces:
CommandFunction.Entry
- Enclosing class:
- CommandFunction
-
Field Summary
-
Constructor Summary
ConstructorDescriptionCommandEntry(com.mojang.brigadier.ParseResults<CommandSourceStack> p_78006_)
-
Method Summary
Modifier and TypeMethodDescriptionprivate int
execute(ServerFunctionManager p_164876_, CommandSourceStack p_164877_)
void
execute(ServerFunctionManager p_164879_, CommandSourceStack p_164880_, Deque<ServerFunctionManager.QueuedCommand> p_164881_, int p_164882_, int p_164883_, ServerFunctionManager.TraceCallbacks p_164884_)
toString()
-
Field Details
-
parse
-
-
Constructor Details
-
CommandEntry
-
-
Method Details
-
execute
public void execute(ServerFunctionManager p_164879_, CommandSourceStack p_164880_, Deque<ServerFunctionManager.QueuedCommand> p_164881_, int p_164882_, int p_164883_, @Nullable ServerFunctionManager.TraceCallbacks p_164884_) throws com.mojang.brigadier.exceptions.CommandSyntaxException- Specified by:
execute
in interfaceCommandFunction.Entry
- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
execute
private int execute(ServerFunctionManager p_164876_, CommandSourceStack p_164877_) throws com.mojang.brigadier.exceptions.CommandSyntaxException- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
toString
-