Class DebugChart

java.lang.Object
net.minecraft.client.gui.hud.debug.DebugChart
Direct Known Subclasses:
PacketSizeChart, PingChart, RenderingChart, TickChart

@Environment(CLIENT) public abstract class DebugChart extends Object
Mappings:
Namespace Name
official eyu
intermediary net/minecraft/class_8755
named net/minecraft/client/gui/hud/debug/DebugChart
  • Field Details

    • TEXT_COLOR

      protected static final int TEXT_COLOR
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Leyu;a:I
      intermediary field_45915 Lnet/minecraft/class_8755;field_45915:I
      named TEXT_COLOR Lnet/minecraft/client/gui/hud/debug/DebugChart;TEXT_COLOR:I
    • field_45916

      protected static final int field_45916
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official b Leyu;b:I
      intermediary field_45916 Lnet/minecraft/class_8755;field_45916:I
      named field_45916 Lnet/minecraft/client/gui/hud/debug/DebugChart;field_45916:I
    • field_45917

      protected static final int field_45917
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official c Leyu;c:I
      intermediary field_45917 Lnet/minecraft/class_8755;field_45917:I
      named field_45917 Lnet/minecraft/client/gui/hud/debug/DebugChart;field_45917:I
    • textRenderer

      protected final TextRenderer textRenderer
      Mappings:
      Namespace Name Mixin selector
      official d Leyu;d:Lews;
      intermediary field_45918 Lnet/minecraft/class_8755;field_45918:Lnet/minecraft/class_327;
      named textRenderer Lnet/minecraft/client/gui/hud/debug/DebugChart;textRenderer:Lnet/minecraft/client/font/TextRenderer;
    • log

      protected final PerformanceLog log
      Mappings:
      Namespace Name Mixin selector
      official e Leyu;e:Lauy;
      intermediary field_45919 Lnet/minecraft/class_8755;field_45919:Lnet/minecraft/class_8743;
      named log Lnet/minecraft/client/gui/hud/debug/DebugChart;log:Lnet/minecraft/util/profiler/PerformanceLog;
  • Constructor Details

    • DebugChart

      protected DebugChart(TextRenderer textRenderer, PerformanceLog log)
      Mappings:
      Namespace Name Mixin selector
      official <init> Leyu;<init>(Lews;Lauy;)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

    • getWidth

      public int getWidth(int centerX)
      Mappings:
      Namespace Name Mixin selector
      official a Leyu;a(I)I
      intermediary method_53470 Lnet/minecraft/class_8755;method_53470(I)I
      named getWidth Lnet/minecraft/client/gui/hud/debug/DebugChart;getWidth(I)I
    • render

      public void render(DrawContext context, int x, int width)
      Mappings:
      Namespace Name Mixin selector
      official a Leyu;a(Lewu;II)V
      intermediary method_53472 Lnet/minecraft/class_8755;method_53472(Lnet/minecraft/class_332;II)V
      named render Lnet/minecraft/client/gui/hud/debug/DebugChart;render(Lnet/minecraft/client/gui/DrawContext;II)V
    • renderThresholds

      protected void renderThresholds(DrawContext context, int x, int width, int height)
      Mappings:
      Namespace Name Mixin selector
      official a Leyu;a(Lewu;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
    • drawBorderedText

      protected void drawBorderedText(DrawContext context, String string, int x, int y)
      Mappings:
      Namespace Name Mixin selector
      official a Leyu;a(Lewu;Ljava/lang/String;II)V
      intermediary method_53474 Lnet/minecraft/class_8755;method_53474(Lnet/minecraft/class_332;Ljava/lang/String;II)V
      named drawBorderedText Lnet/minecraft/client/gui/hud/debug/DebugChart;drawBorderedText(Lnet/minecraft/client/gui/DrawContext;Ljava/lang/String;II)V
    • format

      protected abstract String format(double value)
      Mappings:
      Namespace Name Mixin selector
      official a Leyu;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 abstract int getHeight(double value)
      Mappings:
      Namespace Name Mixin selector
      official b Leyu;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 abstract int getColor(long value)
      Mappings:
      Namespace Name Mixin selector
      official a Leyu;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
    • getColor

      protected int getColor(double value, double min, int minColor, double median, int medianColor, double max, int maxColor)
      Mappings:
      Namespace Name Mixin selector
      official a Leyu;a(DDIDIDI)I
      intermediary method_53469 Lnet/minecraft/class_8755;method_53469(DDIDIDI)I
      named getColor Lnet/minecraft/client/gui/hud/debug/DebugChart;getColor(DDIDIDI)I