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.
|
compareTo, compareTo, doesStringStartWith, func_110665_a, func_110666_a, func_147176_a, func_147178_a, func_152373_a, func_152374_a, func_82360_a, func_96332_d, getBlockByText, getCommandAliases, getCommandSenderAsPlayer, getItemByText, getListOfStringsFromIterableMatchingLastWord, getListOfStringsMatchingLastWord, getPlayer, getRequiredPermissionLevel, joinNiceString, joinNiceString, joinNiceStringFromCollection, parseBoolean, parseDouble, parseDoubleBounded, parseDoubleWithMin, parseInt, parseIntBounded, parseIntWithMin, setAdminCommander
public 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.ICommand
canCommandSenderUseCommand
in class net.minecraft.command.CommandBase
public java.util.List addTabCompletionOptions(net.minecraft.command.ICommandSender icommandsender, java.lang.String[] params)
addTabCompletionOptions
in interface net.minecraft.command.ICommand
addTabCompletionOptions
in class net.minecraft.command.CommandBase
public boolean isUsernameIndex(java.lang.String[] astring, int i)
isUsernameIndex
in interface net.minecraft.command.ICommand
isUsernameIndex
in class net.minecraft.command.CommandBase
public 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