Package btw.command
Class SetWorldSpawnCommand
java.lang.Object
net.minecraft.src.CommandBase
btw.command.SetWorldSpawnCommand
- All Implemented Interfaces:
Comparable,ICommand
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddTabCompletionOptions(ICommandSender sender, String[] args) Adds the strings available in this command to the given list of tab completion options.Gets the name of the commandgetCommandUsage(ICommandSender sender) Gets the usage string for the command.intReturn the required permission level for this command.voidprocessCommand(ICommandSender sender, String[] args) Callback when the command is invokedMethods 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, isUsernameIndex, joinNiceString, notifyAdmins, notifyAdmins, parseDouble, parseInt, parseIntBounded, parseIntWithMin, setAdminCommander
-
Constructor Details
-
SetWorldSpawnCommand
public SetWorldSpawnCommand()
-
-
Method Details
-
getCommandName
Gets the name of the command -
getRequiredPermissionLevel
public int getRequiredPermissionLevel()Return the required permission level for this command.- Overrides:
getRequiredPermissionLevelin classCommandBase
-
getCommandUsage
Gets the usage string for the command. -
processCommand
Callback when the command is invoked- Throws:
CommandException
-
addTabCompletionOptions
Description copied from class:CommandBaseAdds the strings available in this command to the given list of tab completion options.- Specified by:
addTabCompletionOptionsin interfaceICommand- Overrides:
addTabCompletionOptionsin classCommandBase
-