Package net.minecraft.src
Class CommandEffect
java.lang.Object
net.minecraft.src.CommandBase
net.minecraft.src.CommandEffect
- All Implemented Interfaces:
Comparable,ICommand
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddTabCompletionOptions(ICommandSender par1ICommandSender, String[] par2ArrayOfStr) Adds the strings available in this command to the given list of tab completion options.protected String[]getCommandUsage(ICommandSender par1ICommandSender) intReturn the required permission level for this command.booleanisUsernameIndex(String[] par1ArrayOfStr, int par2) Return whether the specified command parameter index is a username parameter.voidprocessCommand(ICommandSender par1ICommandSender, String[] par2ArrayOfStr) Methods inherited from class net.minecraft.src.CommandBase
canCommandSenderUseCommand, compareTo, compareTo, doesStringStartWith, func_110661_a, func_110662_c, func_110663_b, func_110664_a, func_110665_a, func_110666_a, func_82360_a, func_82361_a, func_96332_d, func_96333_a, getCommandAliases, getCommandSenderAsPlayer, getListOfStringsFromIterableMatchingLastWord, getListOfStringsMatchingLastWord, getPlayer, joinNiceString, notifyAdmins, notifyAdmins, parseDouble, parseInt, parseIntBounded, parseIntWithMin, setAdminCommander
-
Constructor Details
-
CommandEffect
public CommandEffect()
-
-
Method Details
-
getCommandName
-
getRequiredPermissionLevel
public int getRequiredPermissionLevel()Return the required permission level for this command.- Overrides:
getRequiredPermissionLevelin classCommandBase
-
getCommandUsage
-
processCommand
-
addTabCompletionOptions
Adds the strings available in this command to the given list of tab completion options.- Specified by:
addTabCompletionOptionsin interfaceICommand- Overrides:
addTabCompletionOptionsin classCommandBase
-
getAllUsernames
-
isUsernameIndex
Return whether the specified command parameter index is a username parameter.- Specified by:
isUsernameIndexin interfaceICommand- Overrides:
isUsernameIndexin classCommandBase
-