Class TickChart
java.lang.Object
net.minecraft.client.gui.hud.debug.DebugChart
net.minecraft.client.gui.hud.debug.TickChart
- Mappings:
Namespace Name named net/minecraft/client/gui/hud/debug/TickChart
intermediary net/minecraft/class_8759
official fpz
-
Field Summary
Modifier and TypeFieldDescriptionprivate 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
ConstructorDescriptionTickChart
(TextRenderer textRenderer, MultiValueDebugSampleLog log, Supplier<Float> millisPerTickSupplier) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
drawOverlayBar
(DrawContext context, int y, int x, int index) protected String
format
(double value) protected long
get
(int index) protected int
getColor
(long value) protected int
getHeight
(double value) 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
drawBar, drawBorderedText, drawTotalBar, getColor, getHeight, getWidth, render
-
Field Details
-
field_48763
private static final int field_48763- See Also:
- Mappings:
Namespace Name Mixin selector named field_48763
Lnet/minecraft/client/gui/hud/debug/TickChart;field_48763:I
intermediary field_48763
Lnet/minecraft/class_8759;field_48763:I
official f
Lfpz;f:I
-
field_48764
private static final int field_48764- See Also:
- Mappings:
Namespace Name Mixin selector named field_48764
Lnet/minecraft/client/gui/hud/debug/TickChart;field_48764:I
intermediary field_48764
Lnet/minecraft/class_8759;field_48764:I
official g
Lfpz;g:I
-
field_48765
private static final int field_48765- See Also:
- Mappings:
Namespace Name Mixin selector named field_48765
Lnet/minecraft/client/gui/hud/debug/TickChart;field_48765:I
intermediary field_48765
Lnet/minecraft/class_8759;field_48765:I
official h
Lfpz;h:I
-
millisPerTickSupplier
- Mappings:
Namespace Name Mixin selector named millisPerTickSupplier
Lnet/minecraft/client/gui/hud/debug/TickChart;millisPerTickSupplier:Ljava/util/function/Supplier;
intermediary field_47117
Lnet/minecraft/class_8759;field_47117:Ljava/util/function/Supplier;
official i
Lfpz;i:Ljava/util/function/Supplier;
-
-
Constructor Details
-
TickChart
public TickChart(TextRenderer textRenderer, MultiValueDebugSampleLog log, Supplier<Float> millisPerTickSupplier) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/client/gui/hud/debug/TickChart;<init>(Lnet/minecraft/client/font/TextRenderer;Lnet/minecraft/util/profiler/log/MultiValueDebugSampleLog;Ljava/util/function/Supplier;)V
intermediary <init>
Lnet/minecraft/class_8759;<init>(Lnet/minecraft/class_327;Lnet/minecraft/class_9194;Ljava/util/function/Supplier;)V
official <init>
Lfpz;<init>(Lfnp;Lbog;Ljava/util/function/Supplier;)V
-
-
Method Details
-
renderThresholds
- Overrides:
renderThresholds
in classDebugChart
- 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
Lfpu;d(Lfnr;III)V
-
drawOverlayBar
- Overrides:
drawOverlayBar
in classDebugChart
- 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
Lfpu;c(Lfnr;III)V
-
get
protected long get(int index) - Overrides:
get
in classDebugChart
- 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
Lfpu;b(I)J
-
format
- Specified by:
format
in classDebugChart
- 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
Lfpu;a(D)Ljava/lang/String;
-
getHeight
protected int getHeight(double value) - Specified by:
getHeight
in classDebugChart
- 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
Lfpu;b(D)I
-
getColor
protected int getColor(long value) - Specified by:
getColor
in classDebugChart
- 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
Lfpu;a(J)I
-
toMillisecondsPerTick
private static double toMillisecondsPerTick(double nanosecondsPerTick) - Mappings:
Namespace Name Mixin selector named toMillisecondsPerTick
Lnet/minecraft/client/gui/hud/debug/TickChart;toMillisecondsPerTick(D)D
intermediary method_53482
Lnet/minecraft/class_8759;method_53482(D)D
official c
Lfpz;c(D)D
-