public class MalisisCommand
extends net.minecraft.command.CommandBase
MalisisCore mod.| Constructor and Description |
|---|
MalisisCommand()
Instantiates the command
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List |
addTabCompletionOptions(net.minecraft.command.ICommandSender icommandsender,
java.lang.String[] params,
net.minecraft.util.BlockPos pos) |
boolean |
canCommandSenderUseCommand(net.minecraft.command.ICommandSender icommandsender) |
void |
configCommand(net.minecraft.command.ICommandSender sender,
java.lang.String[] params)
Handles the config command.
|
java.lang.String |
getCommandName()
Gets the command name.
|
java.lang.String |
getCommandUsage(net.minecraft.command.ICommandSender sender)
Gets the command usage.
|
boolean |
isUsernameIndex(java.lang.String[] astring,
int i) |
void |
processCommand(net.minecraft.command.ICommandSender sender,
java.lang.String[] params)
Processes the command.
|
buildString, compareTo, compareTo, doesStringStartWith, func_175763_c, func_175768_b, func_175771_a, getBlockByText, getChatComponentFromNthArg, getChatComponentFromNthArg, getCommandAliases, getCommandSenderAsPlayer, getEntity, getEntityName, getItemByText, getListOfStringsMatchingLastWord, getListOfStringsMatchingLastWord, getPlayer, getPlayerName, getRequiredPermissionLevel, join, joinNiceString, joinNiceStringFromCollection, notifyOperators, notifyOperators, parseBlockPos, parseBoolean, parseCoordinate, parseCoordinate, parseDouble, parseDouble, parseDouble, parseDouble, parseDouble, parseInt, parseInt, parseInt, parseLong, parseLong, setAdminCommanderpublic java.lang.String getCommandName()
public java.lang.String getCommandUsage(net.minecraft.command.ICommandSender sender)
sender - the senderpublic void processCommand(net.minecraft.command.ICommandSender sender,
java.lang.String[] params)
throws net.minecraft.command.CommandException
sender - the senderparams - the paramsnet.minecraft.command.CommandExceptionpublic boolean canCommandSenderUseCommand(net.minecraft.command.ICommandSender icommandsender)
canCommandSenderUseCommand in interface net.minecraft.command.ICommandcanCommandSenderUseCommand in class net.minecraft.command.CommandBasepublic java.util.List addTabCompletionOptions(net.minecraft.command.ICommandSender icommandsender,
java.lang.String[] params,
net.minecraft.util.BlockPos pos)
addTabCompletionOptions in interface net.minecraft.command.ICommandaddTabCompletionOptions in class net.minecraft.command.CommandBasepublic boolean isUsernameIndex(java.lang.String[] astring,
int i)
isUsernameIndex in interface net.minecraft.command.ICommandisUsernameIndex in class net.minecraft.command.CommandBasepublic void configCommand(net.minecraft.command.ICommandSender sender,
java.lang.String[] params)
IMalisisMod with the id specified as parameter, if the mod as Settings available.sender - the senderparams - the params