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 intprivate static final intFields inherited from class net.minecraft.client.gui.components.debugchart.AbstractDebugChartCHART_HEIGHT, COLOR_GREY, font, LINE_WIDTH, logger
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected intgetSampleColor(long p_300761_) protected intgetSampleHeight(double p_299260_) protected voidrenderAdditionalLinesAndLabels(GuiGraphics p_297354_, int p_298051_, int p_298343_, int p_299488_) protected StringtoDisplayString(double p_301254_) private static doubletoMilliseconds(double p_300655_) 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:
 
- 
CHART_TOP_VALUEprivate static final int CHART_TOP_VALUE- See Also:
 
 
- 
- 
Constructor Details- 
TpsDebugChart
 
- 
- 
Method Details- 
renderAdditionalLinesAndLabelsprotected void renderAdditionalLinesAndLabels(GuiGraphics p_297354_, int p_298051_, int p_298343_, int p_299488_) - Overrides:
- renderAdditionalLinesAndLabelsin class- AbstractDebugChart
 
- 
toDisplayString- Specified by:
- toDisplayStringin class- AbstractDebugChart
 
- 
getSampleHeightprotected int getSampleHeight(double p_299260_) - Specified by:
- getSampleHeightin class- AbstractDebugChart
 
- 
getSampleColorprotected int getSampleColor(long p_300761_) - Specified by:
- getSampleColorin class- AbstractDebugChart
 
- 
toMillisecondsprivate static double toMilliseconds(double p_300655_) 
 
-