Package net.minecraft.src
Class CommandTime
java.lang.Object
net.minecraft.src.CommandBase
net.minecraft.src.CommandTime
- 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 voidaddTime(ICommandSender par1ICommandSender, int par2) Adds (or removes) time in the server object.getCommandUsage(ICommandSender par1ICommandSender) intReturn the required permission level for this command.voidprocessCommand(ICommandSender par1ICommandSender, String[] par2ArrayOfStr) protected voidsetTime(ICommandSender par1ICommandSender, int par2) Set the time in the server object.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, isUsernameIndex, joinNiceString, notifyAdmins, notifyAdmins, parseDouble, parseInt, parseIntBounded, parseIntWithMin, setAdminCommander
-
Constructor Details
-
CommandTime
public CommandTime()
-
-
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
-
setTime
Set the time in the server object. -
addTime
Adds (or removes) time in the server object.
-