Class PingDebugChart
java.lang.Object
net.minecraft.client.gui.components.debugchart.AbstractDebugChart
net.minecraft.client.gui.components.debugchart.PingDebugChart
- 
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final intprivate static final intprivate static final intprivate static final intFields inherited from class net.minecraft.client.gui.components.debugchart.AbstractDebugChart
CHART_HEIGHT, COLOR_GREY, font, LINE_WIDTH, logger - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionprotected intgetSampleColor(long p_299219_) protected intgetSampleHeight(double p_301040_) protected voidrenderAdditionalLinesAndLabels(GuiGraphics p_298086_, int p_300322_, int p_299063_, int p_299018_) protected StringtoDisplayString(double p_297770_) Methods inherited from class net.minecraft.client.gui.components.debugchart.AbstractDebugChart
drawChart, drawStringWithShade, getSampleColor, getWidth 
- 
Field Details
- 
RED
private static final int RED- See Also:
 
 - 
YELLOW
private static final int YELLOW- See Also:
 
 - 
GREEN
private static final int GREEN- See Also:
 
 - 
CHART_TOP_VALUE
private static final int CHART_TOP_VALUE- See Also:
 
 
 - 
 - 
Constructor Details
- 
PingDebugChart
 
 - 
 - 
Method Details
- 
renderAdditionalLinesAndLabels
protected void renderAdditionalLinesAndLabels(GuiGraphics p_298086_, int p_300322_, int p_299063_, int p_299018_) - Overrides:
 renderAdditionalLinesAndLabelsin classAbstractDebugChart
 - 
toDisplayString
- Specified by:
 toDisplayStringin classAbstractDebugChart
 - 
getSampleHeight
protected int getSampleHeight(double p_301040_) - Specified by:
 getSampleHeightin classAbstractDebugChart
 - 
getSampleColor
protected int getSampleColor(long p_299219_) - Specified by:
 getSampleColorin classAbstractDebugChart
 
 -