public class CommandDebug extends CommandBase
CommandBase.CoordinateArg
Modifier and Type | Field and Description |
---|---|
private static org.apache.logging.log4j.Logger |
LOGGER |
private int |
profileStartTick |
private long |
profileStartTime |
Constructor and Description |
---|
CommandDebug() |
Modifier and Type | Method and Description |
---|---|
private void |
appendProfilerResults(int depth,
java.lang.String sectionName,
java.lang.StringBuilder builder,
MinecraftServer server) |
void |
execute(MinecraftServer server,
ICommandSender sender,
java.lang.String[] args) |
java.lang.String |
getName() |
private java.lang.String |
getProfilerResults(long timeSpan,
int tickSpan,
MinecraftServer server) |
int |
getRequiredPermissionLevel() |
java.util.List<java.lang.String> |
getTabCompletions(MinecraftServer server,
ICommandSender sender,
java.lang.String[] args,
BlockPos targetPos) |
java.lang.String |
getUsage(ICommandSender sender) |
private static java.lang.String |
getWittyComment() |
private void |
saveProfilerResults(long timeSpan,
int tickSpan,
MinecraftServer server) |
buildString, checkPermission, compareTo, convertArgToBlockState, convertArgToBlockStatePredicate, doesStringStartWith, entityToNBT, getAliases, 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
private static final org.apache.logging.log4j.Logger LOGGER
private long profileStartTime
private int profileStartTick
public java.lang.String getName()
public int getRequiredPermissionLevel()
getRequiredPermissionLevel
in class CommandBase
public java.lang.String getUsage(ICommandSender sender)
public void execute(MinecraftServer server, ICommandSender sender, java.lang.String[] args) throws CommandException
CommandException
private void saveProfilerResults(long timeSpan, int tickSpan, MinecraftServer server)
private java.lang.String getProfilerResults(long timeSpan, int tickSpan, MinecraftServer server)
private void appendProfilerResults(int depth, java.lang.String sectionName, java.lang.StringBuilder builder, MinecraftServer server)
private static java.lang.String getWittyComment()
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