public class ForgeCommand extends CommandTreeBase
CommandBase.CoordinateArg
Constructor and Description |
---|
ForgeCommand() |
Modifier and Type | Method and Description |
---|---|
void |
addSubcommand(ICommand command) |
boolean |
checkPermission(MinecraftServer server,
ICommandSender sender) |
java.lang.String |
getName() |
int |
getRequiredPermissionLevel() |
java.lang.String |
getUsage(ICommandSender icommandsender) |
execute, getCommandMap, getSortedCommandList, getSubCommand, getSubCommands, getTabCompletions, isUsernameIndex
buildString, compareTo, convertArgToBlockState, convertArgToBlockStatePredicate, doesStringStartWith, entityToNBT, getAliases, getBlockByText, getChatComponentFromNthArg, getChatComponentFromNthArg, getCommandSenderAsPlayer, getEntity, getEntity, getEntityList, getEntityName, getItemByText, getListOfStringsMatchingLastWord, getListOfStringsMatchingLastWord, getPlayer, getPlayerName, getPlayers, getTabCompletionCoordinate, getTabCompletionCoordinateXZ, join, joinNiceString, joinNiceStringFromCollection, notifyCommandListener, notifyCommandListener, parseBlockPos, parseBoolean, parseCoordinate, parseCoordinate, parseDouble, parseDouble, parseDouble, parseDouble, parseDouble, parseInt, parseInt, parseInt, parseLong, parseLong, setCommandListener, toSyntaxException
public java.lang.String getName()
public void addSubcommand(ICommand command)
addSubcommand
in class CommandTreeBase
public int getRequiredPermissionLevel()
getRequiredPermissionLevel
in class CommandBase
public boolean checkPermission(MinecraftServer server, ICommandSender sender)
checkPermission
in interface ICommand
checkPermission
in class CommandBase
public java.lang.String getUsage(ICommandSender icommandsender)