net.minecraft.client.gui.hud.debug.chart

public class TickChart

extends DebugChart

net.minecraft.client.gui.components.debugchart.TpsDebugChart
net.minecraft.class_8759
net.minecraft.client.gui.hud.debug.chart.TickChart

Field summary

Modifier and TypeField
private static final int
TICK_METHOD_COLOR
field_48763
field_48763
private static final int
TASK_COLOR
field_48764
field_48764
private static final int
OTHER_COLOR
field_48765
field_48765
private final Supplier<Float>
msptSupplier
field_47117
millisPerTickSupplier

Constructor summary

ModifierConstructor
public (TextRenderer textRenderer, MultiValueDebugSampleLog log, Supplier<Float> millisPerTickSupplier)

Method summary

Modifier and TypeMethod
protected void
extractAdditionalLinesAndLabels(GuiGraphicsExtractor graphics, int left, int width, int bottom)
method_53473(class_332 arg0, int arg1, int arg2, int arg3)
renderThresholds(DrawContext arg0, int arg1, int arg2, int arg3)
protected void
extractAdditionalSampleBars(GuiGraphicsExtractor graphics, int bottom, int currentX, int sampleIndex)
method_56581(class_332 arg0, int arg1, int arg2, int arg3)
drawOverlayBar(DrawContext arg0, int arg1, int arg2, int arg3)
protected long
getValueForAggregation(int sampleIndex)
method_56579(int arg0)
get(int arg0)
protected String
toDisplayString(double nanos)
method_53468(double arg0)
format(double arg0)
protected int
getSampleHeight(double nanos)
method_53475(double arg0)
getHeight(double arg0)
protected int
getSampleColor(long nanos)
method_53471(long arg0)
getColor(long arg0)
private static double
toMilliseconds(double nanos)
method_53482(double arg0)
toMillisecondsPerTick(double nanosecondsPerTick)