public class CommandDefaultGameMode extends CommandGameMode
CommandBase.CoordinateArg| Constructor and Description |
|---|
CommandDefaultGameMode() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCommandName()
Gets the name of the command
|
java.lang.String |
getCommandUsage(ICommandSender sender)
Gets the usage string for the command.
|
void |
processCommand(ICommandSender sender,
java.lang.String[] args)
Callback when the command is invoked
|
protected void |
setGameType(WorldSettings.GameType p_71541_1_) |
addTabCompletionOptions, getGameModeFromCommand, getListOfPlayerUsernames, getRequiredPermissionLevel, isUsernameIndexbuildString, canCommandSenderUseCommand, compareTo, doesStringStartWith, func_175763_c, func_175768_b, func_175771_a, func_181043_b, getBlockByText, getChatComponentFromNthArg, getChatComponentFromNthArg, getCommandAliases, getCommandSenderAsPlayer, getEntity, getEntityName, getItemByText, getListOfStringsMatchingLastWord, getListOfStringsMatchingLastWord, getPlayer, getPlayerName, join, joinNiceString, joinNiceStringFromCollection, notifyOperators, notifyOperators, parseBlockPos, parseBoolean, parseCoordinate, parseCoordinate, parseDouble, parseDouble, parseDouble, parseDouble, parseDouble, parseInt, parseInt, parseInt, parseLong, parseLong, setAdminCommanderpublic java.lang.String getCommandName()
getCommandName in interface ICommandgetCommandName in class CommandGameModepublic java.lang.String getCommandUsage(ICommandSender sender)
getCommandUsage in interface ICommandgetCommandUsage in class CommandGameModesender - The command sender that executed the commandpublic void processCommand(ICommandSender sender, java.lang.String[] args) throws CommandException
processCommand in interface ICommandprocessCommand in class CommandGameModesender - The command sender that executed the commandargs - The arguments that were passedCommandExceptionprotected void setGameType(WorldSettings.GameType p_71541_1_)