Class AbstractDebugChart
java.lang.Object
net.minecraft.client.gui.components.debugchart.AbstractDebugChart
- Direct Known Subclasses:
- BandwidthDebugChart,- FpsDebugChart,- PingDebugChart,- TpsDebugChart
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected static final intprotected static final intprotected final Fontprotected static final intprotected final SampleLogger
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedAbstractDebugChart(Font p_297994_, SampleLogger p_298236_) 
- 
Method SummaryModifier and TypeMethodDescriptionvoiddrawChart(GuiGraphics p_300681_, int p_298472_, int p_298870_) protected voiddrawStringWithShade(GuiGraphics p_300760_, String p_299957_, int p_301259_, int p_298524_) protected intgetSampleColor(double p_300651_, double p_300082_, int p_298618_, double p_299706_, int p_300095_, double p_298068_, int p_299403_) protected abstract intgetSampleColor(long p_301058_) protected abstract intgetSampleHeight(double p_298917_) intgetWidth(int p_300792_) protected voidrenderAdditionalLinesAndLabels(GuiGraphics p_300007_, int p_299062_, int p_300355_, int p_297248_) protected abstract StringtoDisplayString(double p_299846_) 
- 
Field Details- 
COLOR_GREYprotected static final int COLOR_GREY- See Also:
 
- 
CHART_HEIGHTprotected static final int CHART_HEIGHT- See Also:
 
- 
LINE_WIDTHprotected static final int LINE_WIDTH- See Also:
 
- 
font
- 
logger
 
- 
- 
Constructor Details- 
AbstractDebugChart
 
- 
- 
Method Details- 
getWidthpublic int getWidth(int p_300792_) 
- 
drawChart
- 
renderAdditionalLinesAndLabelsprotected void renderAdditionalLinesAndLabels(GuiGraphics p_300007_, int p_299062_, int p_300355_, int p_297248_) 
- 
drawStringWithShadeprotected void drawStringWithShade(GuiGraphics p_300760_, String p_299957_, int p_301259_, int p_298524_) 
- 
toDisplayString
- 
getSampleHeightprotected abstract int getSampleHeight(double p_298917_) 
- 
getSampleColorprotected abstract int getSampleColor(long p_301058_) 
- 
getSampleColorprotected int getSampleColor(double p_300651_, double p_300082_, int p_298618_, double p_299706_, int p_300095_, double p_298068_, int p_299403_) 
 
-