Class DebugChart
java.lang.Object
net.minecraft.client.gui.hud.debug.DebugChart
- Direct Known Subclasses:
PacketSizeChart
,PingChart
,RenderingChart
,TickChart
- Mappings:
Namespace Name named net/minecraft/client/gui/hud/debug/DebugChart
intermediary net/minecraft/class_8755
official fiv
-
Field Summary
Modifier and TypeFieldDescriptionprotected static final int
protected static final int
protected final MultiValueDebugSampleLog
protected static final int
protected final TextRenderer
-
Constructor Summary
ModifierConstructorDescriptionprotected
DebugChart
(TextRenderer textRenderer, MultiValueDebugSampleLog log) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
drawBar
(DrawContext context, int y, int x, int index) protected void
drawBorderedText
(DrawContext context, String string, int x, int y) protected void
drawOverlayBar
(DrawContext context, int y, int x, int index) protected void
drawTotalBar
(DrawContext context, int y, int x, int index) protected abstract String
format
(double value) protected long
get
(int index) 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 named TEXT_COLOR
Lnet/minecraft/client/gui/hud/debug/DebugChart;TEXT_COLOR:I
intermediary field_45915
Lnet/minecraft/class_8755;field_45915:I
official a
Lfiv;a:I
-
field_45916
protected static final int field_45916- See Also:
- Mappings:
Namespace Name Mixin selector named field_45916
Lnet/minecraft/client/gui/hud/debug/DebugChart;field_45916:I
intermediary field_45916
Lnet/minecraft/class_8755;field_45916:I
official b
Lfiv;b:I
-
field_45917
protected static final int field_45917- See Also:
- Mappings:
Namespace Name Mixin selector named field_45917
Lnet/minecraft/client/gui/hud/debug/DebugChart;field_45917:I
intermediary field_45917
Lnet/minecraft/class_8755;field_45917:I
official c
Lfiv;c:I
-
textRenderer
- Mappings:
Namespace Name Mixin selector named textRenderer
Lnet/minecraft/client/gui/hud/debug/DebugChart;textRenderer:Lnet/minecraft/client/font/TextRenderer;
intermediary field_45918
Lnet/minecraft/class_8755;field_45918:Lnet/minecraft/class_327;
official d
Lfiv;d:Lfgr;
-
log
- Mappings:
Namespace Name Mixin selector named log
Lnet/minecraft/client/gui/hud/debug/DebugChart;log:Lnet/minecraft/util/profiler/log/MultiValueDebugSampleLog;
intermediary field_45919
Lnet/minecraft/class_8755;field_45919:Lnet/minecraft/class_9194;
official e
Lfiv;e:Lbma;
-
-
Constructor Details
-
DebugChart
- 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>
Lfiv;<init>(Lfgr;Lbma;)V
-
-
Method Details
-
getWidth
public int getWidth(int centerX) - Mappings:
Namespace Name Mixin selector named getWidth
Lnet/minecraft/client/gui/hud/debug/DebugChart;getWidth(I)I
intermediary method_53470
Lnet/minecraft/class_8755;method_53470(I)I
official a
Lfiv;a(I)I
-
render
- Mappings:
Namespace Name Mixin selector named render
Lnet/minecraft/client/gui/hud/debug/DebugChart;render(Lnet/minecraft/client/gui/DrawContext;II)V
intermediary method_53472
Lnet/minecraft/class_8755;method_53472(Lnet/minecraft/class_332;II)V
official a
Lfiv;a(Lfgt;II)V
-
drawBar
- Mappings:
Namespace Name Mixin selector named drawBar
Lnet/minecraft/client/gui/hud/debug/DebugChart;drawBar(Lnet/minecraft/client/gui/DrawContext;III)V
intermediary method_56578
Lnet/minecraft/class_8755;method_56578(Lnet/minecraft/class_332;III)V
official a
Lfiv;a(Lfgt;III)V
-
drawTotalBar
- Mappings:
Namespace Name Mixin selector named drawTotalBar
Lnet/minecraft/client/gui/hud/debug/DebugChart;drawTotalBar(Lnet/minecraft/client/gui/DrawContext;III)V
intermediary method_56580
Lnet/minecraft/class_8755;method_56580(Lnet/minecraft/class_332;III)V
official b
Lfiv;b(Lfgt;III)V
-
drawOverlayBar
- Mappings:
Namespace Name Mixin selector named drawOverlayBar
Lnet/minecraft/client/gui/hud/debug/DebugChart;drawOverlayBar(Lnet/minecraft/client/gui/DrawContext;III)V
intermediary method_56581
Lnet/minecraft/class_8755;method_56581(Lnet/minecraft/class_332;III)V
official c
Lfiv;c(Lfgt;III)V
-
get
protected long get(int index) - Mappings:
Namespace Name Mixin selector named get
Lnet/minecraft/client/gui/hud/debug/DebugChart;get(I)J
intermediary method_56579
Lnet/minecraft/class_8755;method_56579(I)J
official b
Lfiv;b(I)J
-
renderThresholds
- 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
Lfiv;d(Lfgt;III)V
-
drawBorderedText
- Mappings:
Namespace Name Mixin selector named drawBorderedText
Lnet/minecraft/client/gui/hud/debug/DebugChart;drawBorderedText(Lnet/minecraft/client/gui/DrawContext;Ljava/lang/String;II)V
intermediary method_53474
Lnet/minecraft/class_8755;method_53474(Lnet/minecraft/class_332;Ljava/lang/String;II)V
official a
Lfiv;a(Lfgt;Ljava/lang/String;II)V
-
format
- 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
Lfiv;a(D)Ljava/lang/String;
-
getHeight
protected abstract int getHeight(double value) - 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
Lfiv;b(D)I
-
getColor
protected abstract int getColor(long value) - 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
Lfiv;a(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 named getColor
Lnet/minecraft/client/gui/hud/debug/DebugChart;getColor(DDIDIDI)I
intermediary method_53469
Lnet/minecraft/class_8755;method_53469(DDIDIDI)I
official a
Lfiv;a(DDIDIDI)I
-