Class TickChart
java.lang.Object
net.minecraft.client.gui.hud.debug.DebugChart
net.minecraft.client.gui.hud.debug.TickChart
- Mappings:
Namespace Name official fbh
intermediary net/minecraft/class_8759
named net/minecraft/client/gui/hud/debug/TickChart
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final int
private static final int
private static final int
private static final int
private static final int
private static final int
Fields 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 String
format
(double value) protected int
getColor
(long value) protected int
getHeight
(double value) protected long
method_56579
(int int2) protected void
method_56581
(DrawContext drawContext, int int2, int int3, int int4) protected void
renderThresholds
(DrawContext context, int x, int width, int height) private static double
toMillisecondsPerTick
(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 f
Lfbh;f:I
intermediary field_45935
Lnet/minecraft/class_8759;field_45935:I
named field_45935
Lnet/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 g
Lfbh;g:I
intermediary field_45936
Lnet/minecraft/class_8759;field_45936:I
named field_45936
Lnet/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 h
Lfbh;h:I
intermediary field_45937
Lnet/minecraft/class_8759;field_45937:I
named field_45937
Lnet/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 i
Lfbh;i:I
intermediary field_48763
Lnet/minecraft/class_8759;field_48763:I
named field_48763
Lnet/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 j
Lfbh;j:I
intermediary field_48764
Lnet/minecraft/class_8759;field_48764:I
named field_48764
Lnet/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 k
Lfbh;k:I
intermediary field_48765
Lnet/minecraft/class_8759;field_48765:I
named field_48765
Lnet/minecraft/client/gui/hud/debug/TickChart;field_48765:I
-
millisPerTickSupplier
- Mappings:
Namespace Name Mixin selector official l
Lfbh;l:Ljava/util/function/Supplier;
intermediary field_47117
Lnet/minecraft/class_8759;field_47117:Ljava/util/function/Supplier;
named millisPerTickSupplier
Lnet/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;)V
intermediary <init>
Lnet/minecraft/class_8759;<init>(Lnet/minecraft/class_327;Lnet/minecraft/class_8743;Ljava/util/function/Supplier;)V
named <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:
renderThresholds
in classDebugChart
- Mappings:
Namespace Name Mixin selector official d
Lfbd;d(Lezb;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
-
method_56581
- Overrides:
method_56581
in classDebugChart
- Mappings:
Namespace Name Mixin selector official c
Lfbd;c(Lezb;III)V
intermediary method_56581
Lnet/minecraft/class_8755;method_56581(Lnet/minecraft/class_332;III)V
named method_56581
Lnet/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_56579
in classDebugChart
- Mappings:
Namespace Name Mixin selector official b
Lfbd;b(I)J
intermediary method_56579
Lnet/minecraft/class_8755;method_56579(I)J
named method_56579
Lnet/minecraft/client/gui/hud/debug/DebugChart;method_56579(I)J
-
format
- Specified by:
format
in classDebugChart
- Mappings:
Namespace Name Mixin selector official a
Lfbd;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 int getHeight(double value) - Specified by:
getHeight
in classDebugChart
- Mappings:
Namespace Name Mixin selector official b
Lfbd;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 int getColor(long value) - Specified by:
getColor
in classDebugChart
- Mappings:
Namespace Name Mixin selector official a
Lfbd;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
-
toMillisecondsPerTick
private static double toMillisecondsPerTick(double nanosecondsPerTick) - Mappings:
Namespace Name Mixin selector official c
Lfbh;c(D)D
intermediary method_53482
Lnet/minecraft/class_8759;method_53482(D)D
named toMillisecondsPerTick
Lnet/minecraft/client/gui/hud/debug/TickChart;toMillisecondsPerTick(D)D
-