Class TickChart
java.lang.Object
net.minecraft.client.gui.hud.debug.DebugChart
net.minecraft.client.gui.hud.debug.TickChart
- Mappings:
Namespace Name official fbhintermediary net/minecraft/class_8759named net/minecraft/client/gui/hud/debug/TickChart
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intFields inherited from class net.minecraft.client.gui.hud.debug.DebugChart
field_45916, field_45917, log, TEXT_COLOR, textRenderer -
Constructor Summary
ConstructorsConstructorDescriptionTickChart(TextRenderer textRenderer, PerformanceLog log, Supplier<Float> millisPerTickSupplier) -
Method Summary
Modifier and TypeMethodDescriptionprotected Stringformat(double value) protected intgetColor(long value) protected intgetHeight(double value) protected longmethod_56579(int int2) protected voidmethod_56581(DrawContext drawContext, int int2, int int3, int int4) protected voidrenderThresholds(DrawContext context, int x, int width, int height) private static doubletoMillisecondsPerTick(double nanosecondsPerTick) Methods inherited from class net.minecraft.client.gui.hud.debug.DebugChart
drawBorderedText, getColor, getWidth, method_56578, method_56580, render
-
Field Details
-
field_45935
private static final int field_45935- See Also:
- Mappings:
Namespace Name Mixin selector official fLfbh;f:Iintermediary field_45935Lnet/minecraft/class_8759;field_45935:Inamed field_45935Lnet/minecraft/client/gui/hud/debug/TickChart;field_45935:I
-
field_45936
private static final int field_45936- See Also:
- Mappings:
Namespace Name Mixin selector official gLfbh;g:Iintermediary field_45936Lnet/minecraft/class_8759;field_45936:Inamed field_45936Lnet/minecraft/client/gui/hud/debug/TickChart;field_45936:I
-
field_45937
private static final int field_45937- See Also:
- Mappings:
Namespace Name Mixin selector official hLfbh;h:Iintermediary field_45937Lnet/minecraft/class_8759;field_45937:Inamed field_45937Lnet/minecraft/client/gui/hud/debug/TickChart;field_45937:I
-
field_48763
private static final int field_48763- See Also:
- Mappings:
Namespace Name Mixin selector official iLfbh;i:Iintermediary field_48763Lnet/minecraft/class_8759;field_48763:Inamed field_48763Lnet/minecraft/client/gui/hud/debug/TickChart;field_48763:I
-
field_48764
private static final int field_48764- See Also:
- Mappings:
Namespace Name Mixin selector official jLfbh;j:Iintermediary field_48764Lnet/minecraft/class_8759;field_48764:Inamed field_48764Lnet/minecraft/client/gui/hud/debug/TickChart;field_48764:I
-
field_48765
private static final int field_48765- See Also:
- Mappings:
Namespace Name Mixin selector official kLfbh;k:Iintermediary field_48765Lnet/minecraft/class_8759;field_48765:Inamed field_48765Lnet/minecraft/client/gui/hud/debug/TickChart;field_48765:I
-
millisPerTickSupplier
- Mappings:
Namespace Name Mixin selector official lLfbh;l:Ljava/util/function/Supplier;intermediary field_47117Lnet/minecraft/class_8759;field_47117:Ljava/util/function/Supplier;named millisPerTickSupplierLnet/minecraft/client/gui/hud/debug/TickChart;millisPerTickSupplier:Ljava/util/function/Supplier;
-
-
Constructor Details
-
TickChart
public TickChart(TextRenderer textRenderer, PerformanceLog log, Supplier<Float> millisPerTickSupplier) - Mappings:
Namespace Name Mixin selector official <init>Lfbh;<init>(Leyz;Lbhx;Ljava/util/function/Supplier;)Vintermediary <init>Lnet/minecraft/class_8759;<init>(Lnet/minecraft/class_327;Lnet/minecraft/class_8743;Ljava/util/function/Supplier;)Vnamed <init>Lnet/minecraft/client/gui/hud/debug/TickChart;<init>(Lnet/minecraft/client/font/TextRenderer;Lnet/minecraft/util/profiler/PerformanceLog;Ljava/util/function/Supplier;)V
-
-
Method Details
-
renderThresholds
- Overrides:
renderThresholdsin classDebugChart- 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
-
method_56581
- Overrides:
method_56581in classDebugChart- 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) - Overrides:
method_56579in classDebugChart- 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
-
format
- Specified by:
formatin classDebugChart- 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 int getHeight(double value) - Specified by:
getHeightin classDebugChart- 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 int getColor(long value) - Specified by:
getColorin classDebugChart- 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
-
toMillisecondsPerTick
private static double toMillisecondsPerTick(double nanosecondsPerTick) - Mappings:
Namespace Name Mixin selector official cLfbh;c(D)Dintermediary method_53482Lnet/minecraft/class_8759;method_53482(D)Dnamed toMillisecondsPerTickLnet/minecraft/client/gui/hud/debug/TickChart;toMillisecondsPerTick(D)D
-