类 DebugCommand.Tracer
java.lang.Object
net.minecraft.server.commands.DebugCommand.Tracer
- 封闭类:
- DebugCommand
static class DebugCommand.Tracer
extends Object
implements ServerFunctionManager.TraceCallbacks, CommandSource
-
字段概要
字段从接口继承的字段 net.minecraft.commands.CommandSource
NULL
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明boolean
boolean
boolean
private void
indentAndSave
(int pIndent) private void
newLine()
void
onCall
(int pIndent, ResourceLocation pCommand, int pSize) void
void
void
private void
printIndent
(int pIndent) void
sendSystemMessage
(Component pComponent) boolean
-
字段详细资料
-
INDENT_OFFSET
public static final int INDENT_OFFSET- 另请参阅:
-
output
-
lastIndent
private int lastIndent -
waitingForResult
private boolean waitingForResult
-
-
构造器详细资料
-
Tracer
Tracer(PrintWriter pOutput)
-
-
方法详细资料
-
indentAndSave
private void indentAndSave(int pIndent) -
printIndent
private void printIndent(int pIndent) -
newLine
private void newLine() -
onCommand
-
onReturn
- 指定者:
onReturn
在接口中ServerFunctionManager.TraceCallbacks
-
onCall
- 指定者:
onCall
在接口中ServerFunctionManager.TraceCallbacks
-
onError
- 指定者:
onError
在接口中ServerFunctionManager.TraceCallbacks
-
sendSystemMessage
- 指定者:
sendSystemMessage
在接口中CommandSource
-
acceptsSuccess
public boolean acceptsSuccess()- 指定者:
acceptsSuccess
在接口中CommandSource
-
acceptsFailure
public boolean acceptsFailure()- 指定者:
acceptsFailure
在接口中CommandSource
-
shouldInformAdmins
public boolean shouldInformAdmins()- 指定者:
shouldInformAdmins
在接口中CommandSource
-
alwaysAccepts
public boolean alwaysAccepts()- 指定者:
alwaysAccepts
在接口中CommandSource
-