Class DebugChart
java.lang.Object
net.minecraft.client.gui.hud.debug.DebugChart
- Direct Known Subclasses:
PacketSizeChart,PingChart,RenderingChart,TickChart
- Mappings:
Namespace Name official fbdintermediary net/minecraft/class_8755named net/minecraft/client/gui/hud/debug/DebugChart
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final intprotected static final intprotected final PerformanceLogprotected static final intprotected final TextRenderer -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDebugChart(TextRenderer textRenderer, PerformanceLog log) -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddrawBorderedText(DrawContext context, String string, int x, int y) protected abstract Stringformat(double value) protected intgetColor(double value, double double2, int minColor, double double3, int medianColor, double max, int maxColor) protected abstract intgetColor(long value) protected abstract intgetHeight(double value) intgetWidth(int centerX) protected voidmethod_56578(DrawContext drawContext, int int2, int int3, int int4) protected longmethod_56579(int int2) protected voidmethod_56580(DrawContext drawContext, int int2, int int3, int int4) protected voidmethod_56581(DrawContext drawContext, int int2, int int3, int int4) voidrender(DrawContext context, int x, int width) protected voidrenderThresholds(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 aLfbd;a:Iintermediary field_45915Lnet/minecraft/class_8755;field_45915:Inamed TEXT_COLORLnet/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 bLfbd;b:Iintermediary field_45916Lnet/minecraft/class_8755;field_45916:Inamed field_45916Lnet/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 cLfbd;c:Iintermediary field_45917Lnet/minecraft/class_8755;field_45917:Inamed field_45917Lnet/minecraft/client/gui/hud/debug/DebugChart;field_45917:I
-
textRenderer
- Mappings:
Namespace Name Mixin selector official dLfbd;d:Leyz;intermediary field_45918Lnet/minecraft/class_8755;field_45918:Lnet/minecraft/class_327;named textRendererLnet/minecraft/client/gui/hud/debug/DebugChart;textRenderer:Lnet/minecraft/client/font/TextRenderer;
-
log
- Mappings:
Namespace Name Mixin selector official eLfbd;e:Lbhx;intermediary field_45919Lnet/minecraft/class_8755;field_45919:Lnet/minecraft/class_8743;named logLnet/minecraft/client/gui/hud/debug/DebugChart;log:Lnet/minecraft/util/profiler/PerformanceLog;
-
-
Constructor Details
-
DebugChart
- Mappings:
Namespace Name Mixin selector official <init>Lfbd;<init>(Leyz;Lbhx;)Vintermediary <init>Lnet/minecraft/class_8755;<init>(Lnet/minecraft/class_327;Lnet/minecraft/class_8743;)Vnamed <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 aLfbd;a(I)Iintermediary method_53470Lnet/minecraft/class_8755;method_53470(I)Inamed getWidthLnet/minecraft/client/gui/hud/debug/DebugChart;getWidth(I)I
-
render
- Mappings:
Namespace Name Mixin selector official aLfbd;a(Lezb;II)Vintermediary method_53472Lnet/minecraft/class_8755;method_53472(Lnet/minecraft/class_332;II)Vnamed renderLnet/minecraft/client/gui/hud/debug/DebugChart;render(Lnet/minecraft/client/gui/DrawContext;II)V
-
method_56578
- Mappings:
Namespace Name Mixin selector official aLfbd;a(Lezb;III)Vintermediary method_56578Lnet/minecraft/class_8755;method_56578(Lnet/minecraft/class_332;III)Vnamed method_56578Lnet/minecraft/client/gui/hud/debug/DebugChart;method_56578(Lnet/minecraft/client/gui/DrawContext;III)V
-
method_56580
- Mappings:
Namespace Name Mixin selector official bLfbd;b(Lezb;III)Vintermediary method_56580Lnet/minecraft/class_8755;method_56580(Lnet/minecraft/class_332;III)Vnamed method_56580Lnet/minecraft/client/gui/hud/debug/DebugChart;method_56580(Lnet/minecraft/client/gui/DrawContext;III)V
-
method_56581
- Mappings:
Namespace Name Mixin selector official cLfbd;c(Lezb;III)Vintermediary method_56581Lnet/minecraft/class_8755;method_56581(Lnet/minecraft/class_332;III)Vnamed method_56581Lnet/minecraft/client/gui/hud/debug/DebugChart;method_56581(Lnet/minecraft/client/gui/DrawContext;III)V
-
method_56579
protected long method_56579(int int2) - Mappings:
Namespace Name Mixin selector official bLfbd;b(I)Jintermediary method_56579Lnet/minecraft/class_8755;method_56579(I)Jnamed method_56579Lnet/minecraft/client/gui/hud/debug/DebugChart;method_56579(I)J
-
renderThresholds
- Mappings:
Namespace Name Mixin selector official dLfbd;d(Lezb;III)Vintermediary method_53473Lnet/minecraft/class_8755;method_53473(Lnet/minecraft/class_332;III)Vnamed renderThresholdsLnet/minecraft/client/gui/hud/debug/DebugChart;renderThresholds(Lnet/minecraft/client/gui/DrawContext;III)V
-
drawBorderedText
- Mappings:
Namespace Name Mixin selector official aLfbd;a(Lezb;Ljava/lang/String;II)Vintermediary method_53474Lnet/minecraft/class_8755;method_53474(Lnet/minecraft/class_332;Ljava/lang/String;II)Vnamed drawBorderedTextLnet/minecraft/client/gui/hud/debug/DebugChart;drawBorderedText(Lnet/minecraft/client/gui/DrawContext;Ljava/lang/String;II)V
-
format
- Mappings:
Namespace Name Mixin selector official aLfbd;a(D)Ljava/lang/String;intermediary method_53468Lnet/minecraft/class_8755;method_53468(D)Ljava/lang/String;named formatLnet/minecraft/client/gui/hud/debug/DebugChart;format(D)Ljava/lang/String;
-
getHeight
protected abstract int getHeight(double value) - Mappings:
Namespace Name Mixin selector official bLfbd;b(D)Iintermediary method_53475Lnet/minecraft/class_8755;method_53475(D)Inamed getHeightLnet/minecraft/client/gui/hud/debug/DebugChart;getHeight(D)I
-
getColor
protected abstract int getColor(long value) - Mappings:
Namespace Name Mixin selector official aLfbd;a(J)Iintermediary method_53471Lnet/minecraft/class_8755;method_53471(J)Inamed getColorLnet/minecraft/client/gui/hud/debug/DebugChart;getColor(J)I
-
getColor
protected int getColor(double value, double double2, int minColor, double double3, int medianColor, double max, int maxColor) - Mappings:
Namespace Name Mixin selector official aLfbd;a(DDIDIDI)Iintermediary method_53469Lnet/minecraft/class_8755;method_53469(DDIDIDI)Inamed getColorLnet/minecraft/client/gui/hud/debug/DebugChart;getColor(DDIDIDI)I
-