Class TpsDebugChart
java.lang.Object
net.minecraft.client.gui.components.debugchart.AbstractDebugChart
net.minecraft.client.gui.components.debugchart.TpsDebugChart
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate static final intprivate static final intprivate static final intFields inherited from class net.minecraft.client.gui.components.debugchart.AbstractDebugChartCHART_HEIGHT, COLOR_GREY, font, LINE_WIDTH, logger
- 
Constructor SummaryConstructorsConstructorDescriptionTpsDebugChart(Font p_299254_, SampleLogger p_299229_, Supplier<Float> p_309098_) 
- 
Method SummaryModifier and TypeMethodDescriptionprotected intgetSampleColor(long p_299243_) protected intgetSampleHeight(double p_299161_) protected voidrenderAdditionalLinesAndLabels(GuiGraphics p_298653_, int p_298791_, int p_298387_, int p_298869_) protected StringtoDisplayString(double p_298403_) private static doubletoMilliseconds(double p_298223_) Methods inherited from class net.minecraft.client.gui.components.debugchart.AbstractDebugChartdrawChart, drawStringWithShade, getSampleColor, getWidth
- 
Field Details- 
REDprivate static final int RED- See Also:
 
- 
YELLOWprivate static final int YELLOW- See Also:
 
- 
GREENprivate static final int GREEN- See Also:
 
- 
msptSupplier
 
- 
- 
Constructor Details- 
TpsDebugChart
 
- 
- 
Method Details- 
renderAdditionalLinesAndLabelsprotected void renderAdditionalLinesAndLabels(GuiGraphics p_298653_, int p_298791_, int p_298387_, int p_298869_) - Overrides:
- renderAdditionalLinesAndLabelsin class- AbstractDebugChart
 
- 
toDisplayString- Specified by:
- toDisplayStringin class- AbstractDebugChart
 
- 
getSampleHeightprotected int getSampleHeight(double p_299161_) - Specified by:
- getSampleHeightin class- AbstractDebugChart
 
- 
getSampleColorprotected int getSampleColor(long p_299243_) - Specified by:
- getSampleColorin class- AbstractDebugChart
 
- 
toMillisecondsprivate static double toMilliseconds(double p_298223_) 
 
-