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_299029_, SampleLogger p_298721_) 
- 
Method SummaryModifier and TypeMethodDescriptionvoiddrawChart(GuiGraphics p_298960_, int p_298986_, int p_298301_) protected voiddrawStringWithShade(GuiGraphics p_298386_, String p_298809_, int p_298657_, int p_298698_) protected intgetSampleColor(double p_298217_, double p_298257_, int p_298676_, double p_299233_, int p_298930_, double p_299140_, int p_298542_) protected abstract intgetSampleColor(long p_299300_) protected abstract intgetSampleHeight(double p_298971_) intgetWidth(int p_298843_) protected voidrenderAdditionalLinesAndLabels(GuiGraphics p_298895_, int p_298979_, int p_298732_, int p_299176_) protected abstract StringtoDisplayString(double p_298241_) 
- 
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_298843_) 
- 
drawChart
- 
renderAdditionalLinesAndLabelsprotected void renderAdditionalLinesAndLabels(GuiGraphics p_298895_, int p_298979_, int p_298732_, int p_299176_) 
- 
drawStringWithShadeprotected void drawStringWithShade(GuiGraphics p_298386_, String p_298809_, int p_298657_, int p_298698_) 
- 
toDisplayString
- 
getSampleHeightprotected abstract int getSampleHeight(double p_298971_) 
- 
getSampleColorprotected abstract int getSampleColor(long p_299300_) 
- 
getSampleColorprotected int getSampleColor(double p_298217_, double p_298257_, int p_298676_, double p_299233_, int p_298930_, double p_299140_, int p_298542_) 
 
-