Class DebugChart
java.lang.Object
net.minecraft.client.gui.hud.debug.chart.DebugChart
- Direct Known Subclasses:
PacketSizeChart,PingChart,RenderingChart,TickChart
- Mappings:
Namespace Name named net/minecraft/client/gui/hud/debug/chart/DebugChartintermediary net/minecraft/class_8755official gjp
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final intprotected static final intprotected final MultiValueDebugSampleLogprotected final TextRenderer -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDebugChart(TextRenderer textRenderer, MultiValueDebugSampleLog log) -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddrawBar(DrawContext context, int y, int x, int index) protected voiddrawBorderedText(DrawContext context, String string, int x, int y) protected voiddrawOverlayBar(DrawContext context, int y, int x, int index) protected voiddrawTotalBar(DrawContext context, int y, int x, int index) protected abstract Stringformat(double value) protected longget(int index) protected intgetColor(double value, double min, int minColor, double median, int medianColor, double max, int maxColor) protected abstract intgetColor(long value) intprotected abstract intgetHeight(double value) intgetWidth(int centerX) voidrender(DrawContext context, int x, int width) protected voidrenderThresholds(DrawContext context, int x, int width, int height)
-
Field Details
-
field_45916
protected static final int field_45916- See Also:
- Mappings:
Namespace Name Mixin selector named field_45916Lnet/minecraft/client/gui/hud/debug/chart/DebugChart;field_45916:Iintermediary field_45916Lnet/minecraft/class_8755;field_45916:Iofficial aLgjp;a:I
-
field_45917
protected static final int field_45917- See Also:
- Mappings:
Namespace Name Mixin selector named field_45917Lnet/minecraft/client/gui/hud/debug/chart/DebugChart;field_45917:Iintermediary field_45917Lnet/minecraft/class_8755;field_45917:Iofficial bLgjp;b:I
-
textRenderer
- Mappings:
Namespace Name Mixin selector named textRendererLnet/minecraft/client/gui/hud/debug/chart/DebugChart;textRenderer:Lnet/minecraft/client/font/TextRenderer;intermediary field_45918Lnet/minecraft/class_8755;field_45918:Lnet/minecraft/class_327;official cLgjp;c:Lgga;
-
log
- Mappings:
Namespace Name Mixin selector named logLnet/minecraft/client/gui/hud/debug/chart/DebugChart;log:Lnet/minecraft/util/profiler/log/MultiValueDebugSampleLog;intermediary field_45919Lnet/minecraft/class_8755;field_45919:Lnet/minecraft/class_9194;official dLgjp;d:Lbxl;
-
-
Constructor Details
-
DebugChart
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/gui/hud/debug/chart/DebugChart;<init>(Lnet/minecraft/client/font/TextRenderer;Lnet/minecraft/util/profiler/log/MultiValueDebugSampleLog;)Vintermediary <init>Lnet/minecraft/class_8755;<init>(Lnet/minecraft/class_327;Lnet/minecraft/class_9194;)Vofficial <init>Lgjp;<init>(Lgga;Lbxl;)V
-
-
Method Details
-
getWidth
public int getWidth(int centerX) - Mappings:
Namespace Name Mixin selector named getWidthLnet/minecraft/client/gui/hud/debug/chart/DebugChart;getWidth(I)Iintermediary method_53470Lnet/minecraft/class_8755;method_53470(I)Iofficial aLgjp;a(I)I
-
getHeight
public int getHeight()- Mappings:
Namespace Name Mixin selector named getHeightLnet/minecraft/client/gui/hud/debug/chart/DebugChart;getHeight()Iintermediary method_61983Lnet/minecraft/class_8755;method_61983()Iofficial aLgjp;a()I
-
render
- Mappings:
Namespace Name Mixin selector named renderLnet/minecraft/client/gui/hud/debug/chart/DebugChart;render(Lnet/minecraft/client/gui/DrawContext;II)Vintermediary method_53472Lnet/minecraft/class_8755;method_53472(Lnet/minecraft/class_332;II)Vofficial aLgjp;a(Lggd;II)V
-
drawBar
- Mappings:
Namespace Name Mixin selector named drawBarLnet/minecraft/client/gui/hud/debug/chart/DebugChart;drawBar(Lnet/minecraft/client/gui/DrawContext;III)Vintermediary method_56578Lnet/minecraft/class_8755;method_56578(Lnet/minecraft/class_332;III)Vofficial aLgjp;a(Lggd;III)V
-
drawTotalBar
- Mappings:
Namespace Name Mixin selector named drawTotalBarLnet/minecraft/client/gui/hud/debug/chart/DebugChart;drawTotalBar(Lnet/minecraft/client/gui/DrawContext;III)Vintermediary method_56580Lnet/minecraft/class_8755;method_56580(Lnet/minecraft/class_332;III)Vofficial bLgjp;b(Lggd;III)V
-
drawOverlayBar
- Mappings:
Namespace Name Mixin selector named drawOverlayBarLnet/minecraft/client/gui/hud/debug/chart/DebugChart;drawOverlayBar(Lnet/minecraft/client/gui/DrawContext;III)Vintermediary method_56581Lnet/minecraft/class_8755;method_56581(Lnet/minecraft/class_332;III)Vofficial cLgjp;c(Lggd;III)V
-
get
protected long get(int index) - Mappings:
Namespace Name Mixin selector named getLnet/minecraft/client/gui/hud/debug/chart/DebugChart;get(I)Jintermediary method_56579Lnet/minecraft/class_8755;method_56579(I)Jofficial bLgjp;b(I)J
-
renderThresholds
- Mappings:
Namespace Name Mixin selector named renderThresholdsLnet/minecraft/client/gui/hud/debug/chart/DebugChart;renderThresholds(Lnet/minecraft/client/gui/DrawContext;III)Vintermediary method_53473Lnet/minecraft/class_8755;method_53473(Lnet/minecraft/class_332;III)Vofficial dLgjp;d(Lggd;III)V
-
drawBorderedText
- Mappings:
Namespace Name Mixin selector named drawBorderedTextLnet/minecraft/client/gui/hud/debug/chart/DebugChart;drawBorderedText(Lnet/minecraft/client/gui/DrawContext;Ljava/lang/String;II)Vintermediary method_53474Lnet/minecraft/class_8755;method_53474(Lnet/minecraft/class_332;Ljava/lang/String;II)Vofficial aLgjp;a(Lggd;Ljava/lang/String;II)V
-
format
- Mappings:
Namespace Name Mixin selector named formatLnet/minecraft/client/gui/hud/debug/chart/DebugChart;format(D)Ljava/lang/String;intermediary method_53468Lnet/minecraft/class_8755;method_53468(D)Ljava/lang/String;official aLgjp;a(D)Ljava/lang/String;
-
getHeight
protected abstract int getHeight(double value) - Mappings:
Namespace Name Mixin selector named getHeightLnet/minecraft/client/gui/hud/debug/chart/DebugChart;getHeight(D)Iintermediary method_53475Lnet/minecraft/class_8755;method_53475(D)Iofficial bLgjp;b(D)I
-
getColor
protected abstract int getColor(long value) - Mappings:
Namespace Name Mixin selector named getColorLnet/minecraft/client/gui/hud/debug/chart/DebugChart;getColor(J)Iintermediary method_53471Lnet/minecraft/class_8755;method_53471(J)Iofficial aLgjp;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 getColorLnet/minecraft/client/gui/hud/debug/chart/DebugChart;getColor(DDIDIDI)Iintermediary method_53469Lnet/minecraft/class_8755;method_53469(DDIDIDI)Iofficial aLgjp;a(DDIDIDI)I
-