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) |
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.
|
clamp_coord, clamp_double, compareTo, compareTo, doesStringStartWith, getBlockByText, getChatComponentFromNthArg, getChatComponentFromNthArg, getCommandAliases, getCommandSenderAsPlayer, getItemByText, getListOfStringsFromIterableMatchingLastWord, getListOfStringsMatchingLastWord, getPlayer, getPlayerName, getRequiredPermissionLevel, getStringFromNthArg, joinNiceString, joinNiceString, joinNiceStringFromCollection, notifyOperators, notifyOperators, parseBoolean, parseDouble, parseDouble, parseDouble, parseInt, parseIntBounded, parseIntWithMin, 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)
sender - the senderparams - the paramspublic 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)
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