Package net.minecraft.src
Interface ICommand
- All Superinterfaces:
Comparable
- All Known Implementing Classes:
CommandBase,CommandClearInventory,CommandDebug,CommandDefaultGameMode,CommandDifficulty,CommandEffect,CommandEnchant,CommandGameMode,CommandGameRule,CommandGive,CommandHelp,CommandKill,CommandPlaySound,CommandServerBan,CommandServerBanIp,CommandServerBanlist,CommandServerDeop,CommandServerEmote,CommandServerKick,CommandServerList,CommandServerMessage,CommandServerOp,CommandServerPardon,CommandServerPardonIp,CommandServerPublishLocal,CommandServerSaveAll,CommandServerSaveOff,CommandServerSaveOn,CommandServerSay,CommandServerStop,CommandServerTp,CommandServerWhitelist,CommandSetPlayerTimeout,CommandSetSpawnpoint,CommandShowSeed,CommandSpreadPlayers,CommandTime,CommandToggleDownfall,CommandWeather,CommandXP,EmiCommands,GlobalChatCommand,PanoramaCommand,ServerCommandScoreboard,ServerCommandTestFor,ServerLocCommand,SetWorldSpawnCommand
-
Method Summary
Modifier and TypeMethodDescriptionaddTabCompletionOptions(ICommandSender var1, String[] var2) Adds the strings available in this command to the given list of tab completion options.booleanReturns true if the given command sender is allowed to use this command.booleanisUsernameIndex(String[] var1, int var2) Return whether the specified command parameter index is a username parameter.voidprocessCommand(ICommandSender var1, String[] var2) Methods inherited from interface java.lang.Comparable
compareTo
-
Method Details
-
getCommandName
String getCommandName() -
getCommandUsage
-
getCommandAliases
List getCommandAliases() -
processCommand
-
canCommandSenderUseCommand
Returns true if the given command sender is allowed to use this command. -
addTabCompletionOptions
Adds the strings available in this command to the given list of tab completion options. -
isUsernameIndex
Return whether the specified command parameter index is a username parameter.
-