Class PingChart

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

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

    • field_45934

      private static final int field_45934
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_45934 Lnet/minecraft/client/gui/hud/debug/PingChart;field_45934:I
      intermediary field_45934 Lnet/minecraft/class_8758;field_45934:I
      official f Lfpx;f:I
  • Constructor Details

    • PingChart

      public PingChart(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