Class TickChart
java.lang.Object
net.minecraft.client.gui.hud.debug.chart.DebugChart
net.minecraft.client.gui.hud.debug.chart.TickChart
- Mappings:
Namespace Name named net/minecraft/client/gui/hud/debug/chart/TickChartintermediary net/minecraft/class_8759official gju
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final intprivate static final intprivate static final intFields inherited from class net.minecraft.client.gui.hud.debug.chart.DebugChart
field_45916, field_45917, log, textRenderer -
Constructor Summary
ConstructorsConstructorDescriptionTickChart(TextRenderer textRenderer, MultiValueDebugSampleLog log, Supplier<Float> millisPerTickSupplier) -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddrawOverlayBar(DrawContext context, int y, int x, int index) protected Stringformat(double value) protected longget(int index) protected intgetColor(long value) protected intgetHeight(double value) 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.chart.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_48763Lnet/minecraft/client/gui/hud/debug/chart/TickChart;field_48763:Iintermediary field_48763Lnet/minecraft/class_8759;field_48763:Iofficial eLgju;e:I
-
field_48764
private static final int field_48764- See Also:
- Mappings:
Namespace Name Mixin selector named field_48764Lnet/minecraft/client/gui/hud/debug/chart/TickChart;field_48764:Iintermediary field_48764Lnet/minecraft/class_8759;field_48764:Iofficial fLgju;f:I
-
field_48765
private static final int field_48765- See Also:
- Mappings:
Namespace Name Mixin selector named field_48765Lnet/minecraft/client/gui/hud/debug/chart/TickChart;field_48765:Iintermediary field_48765Lnet/minecraft/class_8759;field_48765:Iofficial gLgju;g:I
-
millisPerTickSupplier
- Mappings:
Namespace Name Mixin selector named millisPerTickSupplierLnet/minecraft/client/gui/hud/debug/chart/TickChart;millisPerTickSupplier:Ljava/util/function/Supplier;intermediary field_47117Lnet/minecraft/class_8759;field_47117:Ljava/util/function/Supplier;official hLgju;h: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/chart/TickChart;<init>(Lnet/minecraft/client/font/TextRenderer;Lnet/minecraft/util/profiler/log/MultiValueDebugSampleLog;Ljava/util/function/Supplier;)Vintermediary <init>Lnet/minecraft/class_8759;<init>(Lnet/minecraft/class_327;Lnet/minecraft/class_9194;Ljava/util/function/Supplier;)Vofficial <init>Lgju;<init>(Lgga;Lbxl;Ljava/util/function/Supplier;)V
-
-
Method Details
-
renderThresholds
- Overrides:
renderThresholdsin classDebugChart- 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
-
drawOverlayBar
- Overrides:
drawOverlayBarin classDebugChart- 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) - Overrides:
getin classDebugChart- 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
-
format
- Specified by:
formatin classDebugChart- 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 int getHeight(double value) - Specified by:
getHeightin classDebugChart- 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 int getColor(long value) - Specified by:
getColorin classDebugChart- 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
-
toMillisecondsPerTick
private static double toMillisecondsPerTick(double nanosecondsPerTick) - Mappings:
Namespace Name Mixin selector named toMillisecondsPerTickLnet/minecraft/client/gui/hud/debug/chart/TickChart;toMillisecondsPerTick(D)Dintermediary method_53482Lnet/minecraft/class_8759;method_53482(D)Dofficial cLgju;c(D)D
-