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

    • field_45931

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

      private static final int field_45932
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_45932 Lnet/minecraft/client/gui/hud/debug/PingChart;field_45932:I
      intermediary field_45932 Lnet/minecraft/class_8758;field_45932:I
      official g Lfke;g:I
    • field_45933

      private static final int field_45933
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_45933 Lnet/minecraft/client/gui/hud/debug/PingChart;field_45933:I
      intermediary field_45933 Lnet/minecraft/class_8758;field_45933:I
      official h Lfke;h:I
    • 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 i Lfke;i: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> Lfkb;<init>(Lfhx;Lblv;)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 Lfkb;d(Lfhz;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 Lfkb;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 Lfkb;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 Lfkb;a(J)I