public class HelpCommand extends CraftTweakerCommand
| Modifier and Type | Field and Description |
|---|---|
static int |
lineLimit |
static int |
windowWidth |
subCommandName| Constructor and Description |
|---|
HelpCommand() |
| Modifier and Type | Method and Description |
|---|---|
void |
executeCommand(net.minecraft.server.MinecraftServer server,
net.minecraft.command.ICommandSender sender,
java.lang.String[] args)
Has to be overwritten by the commands
|
protected void |
init()
Has to be overwritten
Used to set the description and all other values
Better for viability, as the constructor is not that full then
|
void |
sendUsage(net.minecraft.command.ICommandSender sender,
int pageNum) |
getDescription, getSubCommandName, getSubSubCommand, setDescriptionpublic static final int lineLimit
public static final int windowWidth
public void executeCommand(net.minecraft.server.MinecraftServer server,
net.minecraft.command.ICommandSender sender,
java.lang.String[] args)
CraftTweakerCommandexecuteCommand in class CraftTweakerCommandargs - Has only the args after this original eventprotected void init()
CraftTweakerCommandinit in class CraftTweakerCommandpublic void sendUsage(net.minecraft.command.ICommandSender sender,
int pageNum)