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 fpw
  • Field Details

    • 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 f Lfpw;f: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 g Lfpw;g: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> Lfpu;<init>(Lfnp;Lbog;)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 Lfpu;d(Lfnr;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 Lfpu;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 Lfpu;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 Lfpu;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 Lfpw;c(D)D