Class FpsDebugChart
java.lang.Object
net.minecraft.client.gui.components.debugchart.AbstractDebugChart
net.minecraft.client.gui.components.debugchart.FpsDebugChart
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate static final intprivate static final doubleprivate 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_298344_) protected intgetSampleHeight(double p_298242_) protected voidrenderAdditionalLinesAndLabels(GuiGraphics p_298713_, int p_298427_, int p_299203_, int p_298951_) protected StringtoDisplayString(double p_298621_) private static doubletoMilliseconds(double p_298493_) 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_FPSprivate static final int CHART_TOP_FPS- See Also:
 
- 
CHART_TOP_VALUEprivate static final double CHART_TOP_VALUE- See Also:
 
 
- 
- 
Constructor Details- 
FpsDebugChart
 
- 
- 
Method Details- 
renderAdditionalLinesAndLabelsprotected void renderAdditionalLinesAndLabels(GuiGraphics p_298713_, int p_298427_, int p_299203_, int p_298951_) - Overrides:
- renderAdditionalLinesAndLabelsin class- AbstractDebugChart
 
- 
toDisplayString- Specified by:
- toDisplayStringin class- AbstractDebugChart
 
- 
getSampleHeightprotected int getSampleHeight(double p_298242_) - Specified by:
- getSampleHeightin class- AbstractDebugChart
 
- 
getSampleColorprotected int getSampleColor(long p_298344_) - Specified by:
- getSampleColorin class- AbstractDebugChart
 
- 
toMillisecondsprivate static double toMilliseconds(double p_298493_) 
 
-