Interface Tracer

All Superinterfaces:
AutoCloseable
All Known Implementing Classes:
DebugCommand.Tracer

public interface Tracer extends AutoCloseable
A tree-visitor-like tracer, useful for gaining insights on function execution.
Mappings:
Namespace Name
named net/minecraft/server/function/Tracer
intermediary net/minecraft/class_6346
official hz
  • Method Details

    • traceCommandStart

      void traceCommandStart(int depth, String command)
      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

      void traceCommandEnd(int depth, String command, int result)
      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
    • traceError

      void traceError(String message)
      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
    • traceFunctionCall

      void traceFunctionCall(int depth, Identifier function, int size)
      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
    • close

      void close()
      Specified by:
      close in interface AutoCloseable