Class DebugCommand.Tracer
java.lang.Object
net.minecraft.server.commands.DebugCommand.Tracer
- All Implemented Interfaces:
AutoCloseable, CommandSource, TraceCallbacks, ICommandSourceExtension
- Enclosing class:
DebugCommand
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intprivate intprivate final PrintWriterprivate booleanFields inherited from interface CommandSource
NULL -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanbooleanvoidclose()private voidindentAndSave(int value) private voidnewLine()voidonCall(int depth, Identifier function, int size) voidvoidvoidprivate voidprintIndent(int value) voidsendSystemMessage(Component message) booleanMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ICommandSourceExtension
getGameProfile
-
Field Details
-
INDENT_OFFSET
public static final int INDENT_OFFSET- See Also:
-
output
-
lastIndent
private int lastIndent -
waitingForResult
private boolean waitingForResult
-
-
Constructor Details
-
Tracer
-
-
Method Details
-
indentAndSave
private void indentAndSave(int value) -
printIndent
private void printIndent(int value) -
newLine
private void newLine() -
onCommand
- Specified by:
onCommandin interfaceTraceCallbacks
-
onReturn
- Specified by:
onReturnin interfaceTraceCallbacks
-
onCall
- Specified by:
onCallin interfaceTraceCallbacks
-
onError
- Specified by:
onErrorin interfaceTraceCallbacks
-
sendSystemMessage
- Specified by:
sendSystemMessagein interfaceCommandSource
-
acceptsSuccess
public boolean acceptsSuccess()- Specified by:
acceptsSuccessin interfaceCommandSource
-
acceptsFailure
public boolean acceptsFailure()- Specified by:
acceptsFailurein interfaceCommandSource
-
shouldInformAdmins
public boolean shouldInformAdmins()- Specified by:
shouldInformAdminsin interfaceCommandSource
-
alwaysAccepts
public boolean alwaysAccepts()- Specified by:
alwaysAcceptsin interfaceCommandSource
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceTraceCallbacks
-