Package net.minecraft.server.commands
Class DebugCommand.Tracer
java.lang.Object
net.minecraft.server.commands.DebugCommand.Tracer
- All Implemented Interfaces:
CommandSource,ServerFunctionManager.TraceCallbacks
- Enclosing class:
- DebugCommand
static class DebugCommand.Tracer
extends Object
implements CommandSource, ServerFunctionManager.TraceCallbacks
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intprivate intprivate final PrintWriterprivate booleanFields inherited from interface net.minecraft.commands.CommandSource
NULL -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanbooleanprivate voidindentAndSave(int p_180082_) private voidnewLine()voidonCall(int p_180091_, ResourceLocation p_180092_, int p_180093_) voidvoidvoidprivate voidprintIndent(int p_180098_) voidsendMessage(Component p_180095_, UUID p_180096_) boolean
-
Field Details
-
INDENT_OFFSET
public static final int INDENT_OFFSET- See Also:
-
output
-
lastIndent
private int lastIndent -
waitingForResult
private boolean waitingForResult
-
-
Constructor Details
-
Tracer
Tracer(PrintWriter p_180079_)
-
-
Method Details
-
indentAndSave
private void indentAndSave(int p_180082_) -
printIndent
private void printIndent(int p_180098_) -
newLine
private void newLine() -
onCommand
- Specified by:
onCommandin interfaceServerFunctionManager.TraceCallbacks
-
onReturn
- Specified by:
onReturnin interfaceServerFunctionManager.TraceCallbacks
-
onCall
- Specified by:
onCallin interfaceServerFunctionManager.TraceCallbacks
-
onError
- Specified by:
onErrorin interfaceServerFunctionManager.TraceCallbacks
-
sendMessage
- Specified by:
sendMessagein 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
-