public class CommandHelp extends CommandBase
CommandBase.CoordinateArg
Constructor and Description |
---|
CommandHelp() |
Modifier and Type | Method and Description |
---|---|
void |
execute(MinecraftServer server,
ICommandSender sender,
java.lang.String[] args) |
java.util.List<java.lang.String> |
getAliases() |
protected java.util.Map<java.lang.String,ICommand> |
getCommandMap(MinecraftServer server) |
java.lang.String |
getName() |
int |
getRequiredPermissionLevel() |
protected java.util.List<ICommand> |
getSortedPossibleCommands(ICommandSender sender,
MinecraftServer server) |
java.util.List<java.lang.String> |
getTabCompletions(MinecraftServer server,
ICommandSender sender,
java.lang.String[] args,
BlockPos targetPos) |
java.lang.String |
getUsage(ICommandSender sender) |
buildString, checkPermission, compareTo, convertArgToBlockState, convertArgToBlockStatePredicate, doesStringStartWith, entityToNBT, getBlockByText, getChatComponentFromNthArg, getChatComponentFromNthArg, getCommandSenderAsPlayer, getEntity, getEntity, getEntityList, getEntityName, getItemByText, getListOfStringsMatchingLastWord, getListOfStringsMatchingLastWord, getPlayer, getPlayerName, getPlayers, getTabCompletionCoordinate, getTabCompletionCoordinateXZ, isUsernameIndex, 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 int getRequiredPermissionLevel()
getRequiredPermissionLevel
in class CommandBase
public java.lang.String getUsage(ICommandSender sender)
public java.util.List<java.lang.String> getAliases()
getAliases
in interface ICommand
getAliases
in class CommandBase
public void execute(MinecraftServer server, ICommandSender sender, java.lang.String[] args) throws CommandException
CommandException
protected java.util.List<ICommand> getSortedPossibleCommands(ICommandSender sender, MinecraftServer server)
protected java.util.Map<java.lang.String,ICommand> getCommandMap(MinecraftServer server)
public java.util.List<java.lang.String> getTabCompletions(MinecraftServer server, ICommandSender sender, java.lang.String[] args, @Nullable BlockPos targetPos)
getTabCompletions
in interface ICommand
getTabCompletions
in class CommandBase