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
official eug
intermediary net/minecraft/class_8758
named net/minecraft/client/gui/hud/debug/PingChart
  • Field Details

    • field_45931

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

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

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

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

    • PingChart

      public PingChart(TextRenderer textRenderer, PerformanceLog log)
      Mappings:
      Namespace Name Mixin selector
      official <init> Leud;<init>(Lesd;Lase;)V
      intermediary <init> Lnet/minecraft/class_8755;<init>(Lnet/minecraft/class_327;Lnet/minecraft/class_8743;)V
      named <init> Lnet/minecraft/client/gui/hud/debug/DebugChart;<init>(Lnet/minecraft/client/font/TextRenderer;Lnet/minecraft/util/profiler/PerformanceLog;)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
      official a Leud;a(Lesf;III)V
      intermediary method_53473 Lnet/minecraft/class_8755;method_53473(Lnet/minecraft/class_332;III)V
      named renderThresholds Lnet/minecraft/client/gui/hud/debug/DebugChart;renderThresholds(Lnet/minecraft/client/gui/DrawContext;III)V
    • format

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

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

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