Class RenderingChart

java.lang.Object
net.minecraft.client.gui.hud.debug.DebugChart
net.minecraft.client.gui.hud.debug.RenderingChart

@Environment(CLIENT) public class RenderingChart extends DebugChart
Mappings:
Namespace Name
named net/minecraft/client/gui/hud/debug/RenderingChart
intermediary net/minecraft/class_8757
official fix
  • Field Details

    • field_45926

      private static final int field_45926
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_45926 Lnet/minecraft/client/gui/hud/debug/RenderingChart;field_45926:I
      intermediary field_45926 Lnet/minecraft/class_8757;field_45926:I
      official f Lfix;f:I
    • field_45927

      private static final int field_45927
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_45927 Lnet/minecraft/client/gui/hud/debug/RenderingChart;field_45927:I
      intermediary field_45927 Lnet/minecraft/class_8757;field_45927:I
      official g Lfix;g:I
    • field_45928

      private static final int field_45928
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_45928 Lnet/minecraft/client/gui/hud/debug/RenderingChart;field_45928:I
      intermediary field_45928 Lnet/minecraft/class_8757;field_45928:I
      official h Lfix;h:I
    • field_45929

      private static final int field_45929
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_45929 Lnet/minecraft/client/gui/hud/debug/RenderingChart;field_45929:I
      intermediary field_45929 Lnet/minecraft/class_8757;field_45929:I
      official i Lfix;i:I
    • field_45930

      private static final double field_45930
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_45930 Lnet/minecraft/client/gui/hud/debug/RenderingChart;field_45930:D
      intermediary field_45930 Lnet/minecraft/class_8757;field_45930:D
      official j Lfix;j:D
  • Constructor Details

    • RenderingChart

      public RenderingChart(TextRenderer textRenderer, MultiValueDebugSampleLog log)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/gui/hud/debug/DebugChart;<init>(Lnet/minecraft/client/font/TextRenderer;Lnet/minecraft/util/profiler/log/MultiValueDebugSampleLog;)V
      intermediary <init> Lnet/minecraft/class_8755;<init>(Lnet/minecraft/class_327;Lnet/minecraft/class_9194;)V
      official <init> Lfiv;<init>(Lfgr;Lbma;)V
  • Method Details

    • renderThresholds

      protected void renderThresholds(DrawContext context, int x, int width, int height)
      Overrides:
      renderThresholds in class DebugChart
      Mappings:
      Namespace Name Mixin selector
      named renderThresholds Lnet/minecraft/client/gui/hud/debug/DebugChart;renderThresholds(Lnet/minecraft/client/gui/DrawContext;III)V
      intermediary method_53473 Lnet/minecraft/class_8755;method_53473(Lnet/minecraft/class_332;III)V
      official d Lfiv;d(Lfgt;III)V
    • format

      protected String format(double value)
      Specified by:
      format in class DebugChart
      Mappings:
      Namespace Name Mixin selector
      named format Lnet/minecraft/client/gui/hud/debug/DebugChart;format(D)Ljava/lang/String;
      intermediary method_53468 Lnet/minecraft/class_8755;method_53468(D)Ljava/lang/String;
      official a Lfiv;a(D)Ljava/lang/String;
    • getHeight

      protected int getHeight(double value)
      Specified by:
      getHeight in class DebugChart
      Mappings:
      Namespace Name Mixin selector
      named getHeight Lnet/minecraft/client/gui/hud/debug/DebugChart;getHeight(D)I
      intermediary method_53475 Lnet/minecraft/class_8755;method_53475(D)I
      official b Lfiv;b(D)I
    • getColor

      protected int getColor(long value)
      Specified by:
      getColor in class DebugChart
      Mappings:
      Namespace Name Mixin selector
      named getColor Lnet/minecraft/client/gui/hud/debug/DebugChart;getColor(J)I
      intermediary method_53471 Lnet/minecraft/class_8755;method_53471(J)I
      official a Lfiv;a(J)I
    • toMillisecondsPerFrame

      private static double toMillisecondsPerFrame(double nanosecondsPerFrame)
      Mappings:
      Namespace Name Mixin selector
      named toMillisecondsPerFrame Lnet/minecraft/client/gui/hud/debug/RenderingChart;toMillisecondsPerFrame(D)D
      intermediary method_53481 Lnet/minecraft/class_8757;method_53481(D)D
      official c Lfix;c(D)D