class CommandTps extends CommandBase
CommandBase.CoordinateArg
Modifier and Type | Field and Description |
---|---|
private static java.text.DecimalFormat |
TIME_FORMATTER |
Constructor and Description |
---|
CommandTps() |
Modifier and Type | Method and Description |
---|---|
boolean |
checkPermission(MinecraftServer server,
ICommandSender sender) |
void |
execute(MinecraftServer server,
ICommandSender sender,
java.lang.String[] args) |
private static java.lang.String |
getDimensionPrefix(int dimId) |
java.lang.String |
getName() |
int |
getRequiredPermissionLevel() |
java.lang.String |
getUsage(ICommandSender sender) |
private static long |
mean(long[] values) |
buildString, compareTo, convertArgToBlockState, convertArgToBlockStatePredicate, doesStringStartWith, entityToNBT, getAliases, getBlockByText, getChatComponentFromNthArg, getChatComponentFromNthArg, getCommandSenderAsPlayer, getEntity, getEntity, getEntityList, getEntityName, getItemByText, getListOfStringsMatchingLastWord, getListOfStringsMatchingLastWord, getPlayer, getPlayerName, getPlayers, getTabCompletionCoordinate, getTabCompletionCoordinateXZ, getTabCompletions, 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 java.lang.String getUsage(ICommandSender sender)
public int getRequiredPermissionLevel()
getRequiredPermissionLevel
in class CommandBase
public boolean checkPermission(MinecraftServer server, ICommandSender sender)
checkPermission
in interface ICommand
checkPermission
in class CommandBase
public void execute(MinecraftServer server, ICommandSender sender, java.lang.String[] args) throws CommandException
CommandException
private static java.lang.String getDimensionPrefix(int dimId)
private static long mean(long[] values)