Class DebugChart
java.lang.Object
net.minecraft.client.gui.hud.debug.DebugChart
- Direct Known Subclasses:
PacketSizeChart
,PingChart
,RenderingChart
,TickChart
- Mappings:
Namespace Name official eud
intermediary net/minecraft/class_8755
named net/minecraft/client/gui/hud/debug/DebugChart
-
Field Summary
Modifier and TypeFieldDescriptionprotected static final int
protected static final int
protected final PerformanceLog
protected static final int
protected final TextRenderer
-
Constructor Summary
ModifierConstructorDescriptionprotected
DebugChart
(TextRenderer textRenderer, PerformanceLog log) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
drawBorderedText
(DrawContext context, String string, int x, int y) protected abstract String
format
(double value) protected int
getColor
(double value, double min, int minColor, double median, int medianColor, double max, int maxColor) protected abstract int
getColor
(long value) protected abstract int
getHeight
(double value) int
getWidth
(int centerX) void
render
(DrawContext context, int x, int width) protected void
renderThresholds
(DrawContext context, int x, int width, int height)
-
Field Details
-
TEXT_COLOR
protected static final int TEXT_COLOR- See Also:
- Mappings:
Namespace Name Mixin selector official a
Leud;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
Leud;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
Leud;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
- Mappings:
Namespace Name Mixin selector official d
Leud;d:Lesd;
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
- Mappings:
Namespace Name Mixin selector official e
Leud;e:Lase;
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
- 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
-
getWidth
public int getWidth(int centerX) - Mappings:
Namespace Name Mixin selector official a
Leud;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
- Mappings:
Namespace Name Mixin selector official a
Leud;a(Lesf;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
- 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
-
drawBorderedText
- Mappings:
Namespace Name Mixin selector official a
Leud;a(Lesf;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
- 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 abstract int getHeight(double value) - 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 abstract int getColor(long value) - 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
-
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
Leud;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
-