Class DebugCommand.Tracer

java.lang.Object
net.minecraft.server.command.DebugCommand.Tracer
All Implemented Interfaces:
AutoCloseable, CommandOutput, Tracer
Enclosing class:
DebugCommand

private static class DebugCommand.Tracer extends Object implements CommandOutput, Tracer
Mappings:
Namespace Name
named net/minecraft/server/command/DebugCommand$Tracer
intermediary net/minecraft/class_3032$class_6347
official ant$b
  • 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 Lant$b;b:I
    • writer

      private final PrintWriter 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 Lant$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 Lant$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 Lant$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> Lant$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 Lant$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 Lant$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 Lant$b;e()V
    • traceCommandStart

      public void traceCommandStart(int depth, String command)
      Specified by:
      traceCommandStart in interface Tracer
      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 Lhz;a(ILjava/lang/String;)V
    • traceCommandEnd

      public void traceCommandEnd(int depth, String command, int result)
      Specified by:
      traceCommandEnd in interface Tracer
      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 Lhz;a(ILjava/lang/String;I)V
    • traceFunctionCall

      public void traceFunctionCall(int depth, Identifier function, int size)
      Specified by:
      traceFunctionCall in interface Tracer
      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 Lhz;a(ILalz;I)V
    • traceError

      public void traceError(String message)
      Specified by:
      traceError in interface Tracer
      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 Lhz;a(Ljava/lang/String;)V
    • sendMessage

      public void sendMessage(Text message)
      Sends a system message.
      Specified by:
      sendMessage in interface CommandOutput
      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 Lev;a(Lxv;)V
    • shouldReceiveFeedback

      public boolean shouldReceiveFeedback()
      Specified by:
      shouldReceiveFeedback in interface CommandOutput
      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 y_ Lev;y_()Z
    • shouldTrackOutput

      public boolean shouldTrackOutput()
      Specified by:
      shouldTrackOutput in interface CommandOutput
      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 z_ Lev;z_()Z
    • shouldBroadcastConsoleToOps

      public boolean shouldBroadcastConsoleToOps()
      Specified by:
      shouldBroadcastConsoleToOps in interface CommandOutput
      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 c Lev;c()Z
    • cannotBeSilenced

      public boolean cannotBeSilenced()
      Specified by:
      cannotBeSilenced in interface CommandOutput
      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 t_ Lev;t_()Z
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface Tracer