public class CommandBanIp extends CommandBase
CommandBase.CoordinateArg
Modifier and Type | Field and Description |
---|---|
static java.util.regex.Pattern |
field_147211_a |
Constructor and Description |
---|
CommandBanIp() |
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.String> |
addTabCompletionOptions(ICommandSender sender,
java.lang.String[] args,
BlockPos pos) |
boolean |
canCommandSenderUseCommand(ICommandSender sender)
Returns true if the given command sender is allowed to use this command.
|
protected void |
func_147210_a(ICommandSender p_147210_1_,
java.lang.String p_147210_2_,
java.lang.String p_147210_3_) |
java.lang.String |
getCommandName()
Gets the name of the command
|
java.lang.String |
getCommandUsage(ICommandSender sender)
Gets the usage string for the command.
|
int |
getRequiredPermissionLevel()
Return the required permission level for this command.
|
void |
processCommand(ICommandSender sender,
java.lang.String[] args)
Callback when the command is invoked
|
buildString, compareTo, doesStringStartWith, func_175763_c, func_175768_b, func_175771_a, func_181043_b, getBlockByText, getChatComponentFromNthArg, getChatComponentFromNthArg, getCommandAliases, getCommandSenderAsPlayer, getEntity, getEntityName, getItemByText, getListOfStringsMatchingLastWord, getListOfStringsMatchingLastWord, getPlayer, getPlayerName, isUsernameIndex, join, joinNiceString, joinNiceStringFromCollection, notifyOperators, notifyOperators, parseBlockPos, parseBoolean, parseCoordinate, parseCoordinate, parseDouble, parseDouble, parseDouble, parseDouble, parseDouble, parseInt, parseInt, parseInt, parseLong, parseLong, setAdminCommander
public java.lang.String getCommandName()
public int getRequiredPermissionLevel()
getRequiredPermissionLevel
in class CommandBase
public boolean canCommandSenderUseCommand(ICommandSender sender)
canCommandSenderUseCommand
in interface ICommand
canCommandSenderUseCommand
in class CommandBase
public java.lang.String getCommandUsage(ICommandSender sender)
public void processCommand(ICommandSender sender, java.lang.String[] args) throws CommandException
CommandException
public java.util.List<java.lang.String> addTabCompletionOptions(ICommandSender sender, java.lang.String[] args, BlockPos pos)
addTabCompletionOptions
in interface ICommand
addTabCompletionOptions
in class CommandBase
protected void func_147210_a(ICommandSender p_147210_1_, java.lang.String p_147210_2_, java.lang.String p_147210_3_)