public class ClientCommandHandler
extends net.minecraft.command.CommandHandler
If there is a command with the same name registered both on the server and client, the client takes precedence!
Taken from https://github.com/MinecraftForge/MinecraftForge/tree/1.8.9/ under LGPL 2.1 and the Minecraft Forge Public Licence with additional terms specified in the LICENSE file.
| Modifier and Type | Field and Description |
|---|---|
static ClientCommandHandler |
instance |
java.lang.String[] |
latestAutoComplete |
| Constructor and Description |
|---|
ClientCommandHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
autoComplete(java.lang.String leftOfCursor) |
int |
executeCommand(net.minecraft.command.ICommandSender sender,
java.lang.String message) |
public static final ClientCommandHandler instance
public java.lang.String[] latestAutoComplete
public int executeCommand(net.minecraft.command.ICommandSender sender,
java.lang.String message)
executeCommand in interface net.minecraft.command.ICommandManagerexecuteCommand in class net.minecraft.command.CommandHandlerpublic void autoComplete(java.lang.String leftOfCursor)