YATS/Forge Documentation
 All Classes Namespaces Files Functions Variables Enumerator Pages
net.minecraft.command.CommandBase Class Reference
Inheritance diagram for net.minecraft.command.CommandBase:
net.minecraft.command.ICommand net.minecraft.command.CommandClearInventory net.minecraft.command.CommandDebug net.minecraft.command.CommandDifficulty net.minecraft.command.CommandEffect net.minecraft.command.CommandEnchant net.minecraft.command.CommandGameMode net.minecraft.command.CommandGameRule net.minecraft.command.CommandGive net.minecraft.command.CommandHelp net.minecraft.command.CommandKill net.minecraft.command.CommandServerBan net.minecraft.command.CommandServerBanIp net.minecraft.command.CommandServerBanlist net.minecraft.command.CommandServerDeop net.minecraft.command.CommandServerEmote net.minecraft.command.CommandServerKick net.minecraft.command.CommandServerList net.minecraft.command.CommandServerMessage net.minecraft.command.CommandServerOp net.minecraft.command.CommandServerPardon net.minecraft.command.CommandServerPardonIp net.minecraft.command.CommandServerPublishLocal net.minecraft.command.CommandServerSaveAll net.minecraft.command.CommandServerSaveOff net.minecraft.command.CommandServerSaveOn net.minecraft.command.CommandServerSay net.minecraft.command.CommandServerStop net.minecraft.command.CommandServerTp net.minecraft.command.CommandServerWhitelist net.minecraft.command.CommandSetSpawnpoint net.minecraft.command.CommandShowSeed net.minecraft.command.CommandTime net.minecraft.command.CommandToggleDownfall net.minecraft.command.CommandWeather net.minecraft.command.CommandXP net.minecraft.scoreboard.ServerCommandScoreboard net.minecraft.scoreboard.ServerCommandTestFor

Public Member Functions

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)
 
- Public Member Functions inherited from net.minecraft.command.ICommand
String getCommandName ()
 
void processCommand (ICommandSender icommandsender, String[] astring)
 

Static Public Member Functions

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)
 

Member Function Documentation

List net.minecraft.command.CommandBase.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.

boolean net.minecraft.command.CommandBase.canCommandSenderUseCommand ( ICommandSender  par1ICommandSender)

Returns true if the given command sender is allowed to use this command.

Implements net.minecraft.command.ICommand.

int net.minecraft.command.CommandBase.compareTo ( ICommand  par1ICommand)

Compares the name of this command to the name of the given command.

int net.minecraft.command.CommandBase.compareTo ( Object  par1Obj)
static boolean net.minecraft.command.CommandBase.doesStringStartWith ( String  par0Str,
String  par1Str 
)
static

Returns true if the given substring is exactly equal to the start of the given string (case insensitive).

static EntityPlayerMP net.minecraft.command.CommandBase.func_82359_c ( ICommandSender  par0ICommandSender,
String  par1Str 
)
static
static String net.minecraft.command.CommandBase.func_82360_a ( ICommandSender  par0ICommandSender,
String[]  par1ArrayOfStr,
int  par2 
)
static
static String net.minecraft.command.CommandBase.func_82361_a ( ICommandSender  par0ICommandSender,
String[]  par1ArrayOfStr,
int  par2,
boolean  par3 
)
static
static String net.minecraft.command.CommandBase.func_96332_d ( ICommandSender  par0ICommandSender,
String  par1Str 
)
static
static String net.minecraft.command.CommandBase.func_96333_a ( Collection  par0Collection)
static
List net.minecraft.command.CommandBase.getCommandAliases ( )
static EntityPlayerMP net.minecraft.command.CommandBase.getCommandSenderAsPlayer ( ICommandSender  par0ICommandSender)
static

Returns the given ICommandSender as a EntityPlayer or throw an exception.

String net.minecraft.command.CommandBase.getCommandUsage ( ICommandSender  par1ICommandSender)
static List net.minecraft.command.CommandBase.getListOfStringsFromIterableMatchingLastWord ( String[]  par0ArrayOfStr,
Iterable  par1Iterable 
)
static

Returns a List of strings (chosen from the given string iterable) which the last word in the given string array is a beginning-match for. (Tab completion).

static List net.minecraft.command.CommandBase.getListOfStringsMatchingLastWord ( String[]  par0ArrayOfStr,
String...  par1ArrayOfStr 
)
static

Returns a List of strings (chosen from the given strings) which the last word in the given string array is a beginning-match for. (Tab completion).

int net.minecraft.command.CommandBase.getRequiredPermissionLevel ( )

Return the required permission level for this command.

boolean net.minecraft.command.CommandBase.isUsernameIndex ( String[]  par1ArrayOfStr,
int  par2 
)

Return whether the specified command parameter index is a username parameter.

Implements net.minecraft.command.ICommand.

static String net.minecraft.command.CommandBase.joinNiceString ( Object[]  par0ArrayOfObj)
static

Joins the given string array into a "x, y, and z" seperated string.

static void net.minecraft.command.CommandBase.notifyAdmins ( ICommandSender  par0ICommandSender,
String  par1Str,
Object...  par2ArrayOfObj 
)
static
static void net.minecraft.command.CommandBase.notifyAdmins ( ICommandSender  par0ICommandSender,
int  par1,
String  par2Str,
Object...  par3ArrayOfObj 
)
static
static double net.minecraft.command.CommandBase.parseDouble ( ICommandSender  par0ICommandSender,
String  par1Str 
)
static

Parses a double from the given string or throws an exception if it's not a double.

static int net.minecraft.command.CommandBase.parseInt ( ICommandSender  par0ICommandSender,
String  par1Str 
)
static

Parses an int from the given string.

static int net.minecraft.command.CommandBase.parseIntBounded ( ICommandSender  par0ICommandSender,
String  par1Str,
int  par2,
int  par3 
)
static

Parses an int from the given string within a specified bound.

static int net.minecraft.command.CommandBase.parseIntWithMin ( ICommandSender  par0ICommandSender,
String  par1Str,
int  par2 
)
static

Parses an int from the given sring with a specified minimum.

static void net.minecraft.command.CommandBase.setAdminCommander ( IAdminCommand  par0IAdminCommand)
static

Sets the static IAdminCommander.


The documentation for this class was generated from the following file: