YATS/Forge Documentation
|
Public Member Functions | |
String | getCommandName () |
int | getRequiredPermissionLevel () |
String | getCommandUsage (ICommandSender par1ICommandSender) |
void | processCommand (ICommandSender par1ICommandSender, String[] par2ArrayOfStr) |
List | addTabCompletionOptions (ICommandSender par1ICommandSender, String[] par2ArrayOfStr) |
Public Member Functions inherited from net.minecraft.command.CommandBase | |
int | getRequiredPermissionLevel () |
String | getCommandUsage (ICommandSender par1ICommandSender) |
List | getCommandAliases () |
boolean | canCommandSenderUseCommand (ICommandSender par1ICommandSender) |
List | addTabCompletionOptions (ICommandSender par1ICommandSender, String[] par2ArrayOfStr) |
boolean | isUsernameIndex (String[] par1ArrayOfStr, int par2) |
int | compareTo (ICommand par1ICommand) |
int | compareTo (Object par1Obj) |
Protected Member Functions | |
void | setTime (ICommandSender par1ICommandSender, int par2) |
void | addTime (ICommandSender par1ICommandSender, int par2) |
Additional Inherited Members | |
Static Public Member Functions inherited from net.minecraft.command.CommandBase | |
static int | parseInt (ICommandSender par0ICommandSender, String par1Str) |
static int | parseIntWithMin (ICommandSender par0ICommandSender, String par1Str, int par2) |
static int | parseIntBounded (ICommandSender par0ICommandSender, String par1Str, int par2, int par3) |
static double | parseDouble (ICommandSender par0ICommandSender, String par1Str) |
static EntityPlayerMP | getCommandSenderAsPlayer (ICommandSender par0ICommandSender) |
static EntityPlayerMP | func_82359_c (ICommandSender par0ICommandSender, String par1Str) |
static String | func_96332_d (ICommandSender par0ICommandSender, String par1Str) |
static String | func_82360_a (ICommandSender par0ICommandSender, String[] par1ArrayOfStr, int par2) |
static String | func_82361_a (ICommandSender par0ICommandSender, String[] par1ArrayOfStr, int par2, boolean par3) |
static String | joinNiceString (Object[] par0ArrayOfObj) |
static String | func_96333_a (Collection par0Collection) |
static boolean | doesStringStartWith (String par0Str, String par1Str) |
static List | getListOfStringsMatchingLastWord (String[] par0ArrayOfStr, String...par1ArrayOfStr) |
static List | getListOfStringsFromIterableMatchingLastWord (String[] par0ArrayOfStr, Iterable par1Iterable) |
static void | notifyAdmins (ICommandSender par0ICommandSender, String par1Str, Object...par2ArrayOfObj) |
static void | notifyAdmins (ICommandSender par0ICommandSender, int par1, String par2Str, Object...par3ArrayOfObj) |
static void | setAdminCommander (IAdminCommand par0IAdminCommand) |
List net.minecraft.command.CommandTime.addTabCompletionOptions | ( | ICommandSender | par1ICommandSender, |
String[] | par2ArrayOfStr | ||
) |
Adds the strings available in this command to the given list of tab completion options.
Implements net.minecraft.command.ICommand.
|
protected |
Adds (or removes) time in the server object.
String net.minecraft.command.CommandTime.getCommandName | ( | ) |
Implements net.minecraft.command.ICommand.
String net.minecraft.command.CommandTime.getCommandUsage | ( | ICommandSender | par1ICommandSender) |
Implements net.minecraft.command.ICommand.
int net.minecraft.command.CommandTime.getRequiredPermissionLevel | ( | ) |
Return the required permission level for this command.
void net.minecraft.command.CommandTime.processCommand | ( | ICommandSender | par1ICommandSender, |
String[] | par2ArrayOfStr | ||
) |
Implements net.minecraft.command.ICommand.
|
protected |
Set the time in the server object.