public class CommandEntityData extends CommandBase
CommandBase.CoordinateArg
Constructor and Description |
---|
CommandEntityData() |
Modifier and Type | Method and Description |
---|---|
void |
execute(MinecraftServer server,
ICommandSender sender,
java.lang.String[] args) |
java.lang.String |
getCommandName() |
java.lang.String |
getCommandUsage(ICommandSender sender) |
int |
getRequiredPermissionLevel() |
boolean |
isUsernameIndex(java.lang.String[] args,
int index) |
buildString, checkPermission, compareTo, doesStringStartWith, entityToNBT, getBlockByText, getChatComponentFromNthArg, getChatComponentFromNthArg, getCommandAliases, getCommandSenderAsPlayer, getEntity, getEntity, getEntityList, getEntityName, getItemByText, getListOfStringsMatchingLastWord, getListOfStringsMatchingLastWord, getPlayer, getPlayerName, getTabCompletionCoordinate, getTabCompletionCoordinateXZ, getTabCompletionOptions, 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 getCommandName()
public int getRequiredPermissionLevel()
getRequiredPermissionLevel
in class CommandBase
public java.lang.String getCommandUsage(ICommandSender sender)
public void execute(MinecraftServer server, ICommandSender sender, java.lang.String[] args) throws CommandException
CommandException
public boolean isUsernameIndex(java.lang.String[] args, int index)
isUsernameIndex
in interface ICommand
isUsernameIndex
in class CommandBase