Package net.minecraft.server.command
Class DebugCommand.Tracer
java.lang.Object
net.minecraft.server.command.DebugCommand.Tracer
- All Implemented Interfaces:
AutoCloseable
,CommandOutput
,Tracer
- Enclosing class:
DebugCommand
- Mappings:
Namespace Name named net/minecraft/server/command/DebugCommand$Tracer
intermediary net/minecraft/class_3032$class_6347
official amj$b
-
Field Summary
Modifier and TypeFieldDescriptionprivate boolean
private int
static final int
private final PrintWriter
Fields inherited from interface net.minecraft.server.command.CommandOutput
DUMMY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
void
close()
void
sendMessage
(Text message) Sends a system message.boolean
boolean
boolean
void
traceCommandEnd
(int depth, String command, int result) void
traceCommandStart
(int depth, String command) void
traceError
(String message) void
traceFunctionCall
(int depth, Identifier function, int size) private void
writeIndent
(int width) private void
writeIndentWithoutRememberingWidth
(int width) private void
-
Field Details
-
MARGIN
public static final int MARGIN- See Also:
- Mappings:
Namespace Name Mixin selector named MARGIN
Lnet/minecraft/server/command/DebugCommand$Tracer;MARGIN:I
intermediary field_33550
Lnet/minecraft/class_3032$class_6347;field_33550:I
official b
Lamj$b;b:I
-
writer
- Mappings:
Namespace Name Mixin selector named writer
Lnet/minecraft/server/command/DebugCommand$Tracer;writer:Ljava/io/PrintWriter;
intermediary field_33551
Lnet/minecraft/class_3032$class_6347;field_33551:Ljava/io/PrintWriter;
official c
Lamj$b;c:Ljava/io/PrintWriter;
-
lastIndentWidth
private int lastIndentWidth- Mappings:
Namespace Name Mixin selector named lastIndentWidth
Lnet/minecraft/server/command/DebugCommand$Tracer;lastIndentWidth:I
intermediary field_33552
Lnet/minecraft/class_3032$class_6347;field_33552:I
official d
Lamj$b;d:I
-
expectsCommandResult
private boolean expectsCommandResult- Mappings:
Namespace Name Mixin selector named expectsCommandResult
Lnet/minecraft/server/command/DebugCommand$Tracer;expectsCommandResult:Z
intermediary field_33553
Lnet/minecraft/class_3032$class_6347;field_33553:Z
official e
Lamj$b;e:Z
-
-
Constructor Details
-
Tracer
Tracer(PrintWriter writer) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/server/command/DebugCommand$Tracer;<init>(Ljava/io/PrintWriter;)V
intermediary <init>
Lnet/minecraft/class_3032$class_6347;<init>(Ljava/io/PrintWriter;)V
official <init>
Lamj$b;<init>(Ljava/io/PrintWriter;)V
-
-
Method Details
-
writeIndent
private void writeIndent(int width) - Mappings:
Namespace Name Mixin selector named writeIndent
Lnet/minecraft/server/command/DebugCommand$Tracer;writeIndent(I)V
intermediary method_36355
Lnet/minecraft/class_3032$class_6347;method_36355(I)V
official a
Lamj$b;a(I)V
-
writeIndentWithoutRememberingWidth
private void writeIndentWithoutRememberingWidth(int width) - Mappings:
Namespace Name Mixin selector named writeIndentWithoutRememberingWidth
Lnet/minecraft/server/command/DebugCommand$Tracer;writeIndentWithoutRememberingWidth(I)V
intermediary method_36356
Lnet/minecraft/class_3032$class_6347;method_36356(I)V
official b
Lamj$b;b(I)V
-
writeNewLine
private void writeNewLine()- Mappings:
Namespace Name Mixin selector named writeNewLine
Lnet/minecraft/server/command/DebugCommand$Tracer;writeNewLine()V
intermediary method_36357
Lnet/minecraft/class_3032$class_6347;method_36357()V
official e
Lamj$b;e()V
-
traceCommandStart
- Specified by:
traceCommandStart
in interfaceTracer
- Mappings:
Namespace Name Mixin selector named traceCommandStart
Lnet/minecraft/server/function/Tracer;traceCommandStart(ILjava/lang/String;)V
intermediary method_36349
Lnet/minecraft/class_6346;method_36349(ILjava/lang/String;)V
official a
Lhv;a(ILjava/lang/String;)V
-
traceCommandEnd
- Specified by:
traceCommandEnd
in interfaceTracer
- Mappings:
Namespace Name Mixin selector named traceCommandEnd
Lnet/minecraft/server/function/Tracer;traceCommandEnd(ILjava/lang/String;I)V
intermediary method_36350
Lnet/minecraft/class_6346;method_36350(ILjava/lang/String;I)V
official a
Lhv;a(ILjava/lang/String;I)V
-
traceFunctionCall
- Specified by:
traceFunctionCall
in interfaceTracer
- Mappings:
Namespace Name Mixin selector named traceFunctionCall
Lnet/minecraft/server/function/Tracer;traceFunctionCall(ILnet/minecraft/util/Identifier;I)V
intermediary method_36351
Lnet/minecraft/class_6346;method_36351(ILnet/minecraft/class_2960;I)V
official a
Lhv;a(ILakq;I)V
-
traceError
- Specified by:
traceError
in interfaceTracer
- Mappings:
Namespace Name Mixin selector named traceError
Lnet/minecraft/server/function/Tracer;traceError(Ljava/lang/String;)V
intermediary method_36352
Lnet/minecraft/class_6346;method_36352(Ljava/lang/String;)V
official a
Lhv;a(Ljava/lang/String;)V
-
sendMessage
Sends a system message.- Specified by:
sendMessage
in interfaceCommandOutput
- Implementation Note:
- The output location depends on the implementation; players will use the in-game chat, and others will output to the log.
- Mappings:
Namespace Name Mixin selector named sendMessage
Lnet/minecraft/server/command/CommandOutput;sendMessage(Lnet/minecraft/text/Text;)V
intermediary method_43496
Lnet/minecraft/class_2165;method_43496(Lnet/minecraft/class_2561;)V
official a
Les;a(Lwy;)V
-
shouldReceiveFeedback
public boolean shouldReceiveFeedback()- Specified by:
shouldReceiveFeedback
in interfaceCommandOutput
- Mappings:
Namespace Name Mixin selector named shouldReceiveFeedback
Lnet/minecraft/server/command/CommandOutput;shouldReceiveFeedback()Z
intermediary method_9200
Lnet/minecraft/class_2165;method_9200()Z
official k_
Les;k_()Z
-
shouldTrackOutput
public boolean shouldTrackOutput()- Specified by:
shouldTrackOutput
in interfaceCommandOutput
- Mappings:
Namespace Name Mixin selector named shouldTrackOutput
Lnet/minecraft/server/command/CommandOutput;shouldTrackOutput()Z
intermediary method_9202
Lnet/minecraft/class_2165;method_9202()Z
official w_
Les;w_()Z
-
shouldBroadcastConsoleToOps
public boolean shouldBroadcastConsoleToOps()- Specified by:
shouldBroadcastConsoleToOps
in interfaceCommandOutput
- Mappings:
Namespace Name Mixin selector named shouldBroadcastConsoleToOps
Lnet/minecraft/server/command/CommandOutput;shouldBroadcastConsoleToOps()Z
intermediary method_9201
Lnet/minecraft/class_2165;method_9201()Z
official U_
Les;U_()Z
-
cannotBeSilenced
public boolean cannotBeSilenced()- Specified by:
cannotBeSilenced
in interfaceCommandOutput
- Mappings:
Namespace Name Mixin selector named cannotBeSilenced
Lnet/minecraft/server/command/CommandOutput;cannotBeSilenced()Z
intermediary method_36320
Lnet/minecraft/class_2165;method_36320()Z
official l_
Les;l_()Z
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceTracer
-