Class PingDebugChart
java.lang.Object
net.minecraft.client.gui.components.debugchart.AbstractDebugChart
net.minecraft.client.gui.components.debugchart.PingDebugChart
-
Field Summary
FieldsFields inherited from class AbstractDebugChart
CHART_HEIGHT, font, LINE_WIDTH, sampleStorage -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected intgetSampleColor(long millis) protected intgetSampleHeight(double millis) protected voidrenderAdditionalLinesAndLabels(GuiGraphics graphics, int left, int width, int bottom) protected StringtoDisplayString(double millis) Methods inherited from class AbstractDebugChart
drawAdditionalDimensions, drawChart, drawDimensions, drawMainDimension, drawStringWithShade, getFullHeight, getSampleColor, getValueForAggregation, getWidth
-
Field Details
-
CHART_TOP_VALUE
private static final int CHART_TOP_VALUE- See Also:
-
-
Constructor Details
-
PingDebugChart
-
-
Method Details
-
renderAdditionalLinesAndLabels
protected void renderAdditionalLinesAndLabels(GuiGraphics graphics, int left, int width, int bottom) - Overrides:
renderAdditionalLinesAndLabelsin classAbstractDebugChart
-
toDisplayString
- Specified by:
toDisplayStringin classAbstractDebugChart
-
getSampleHeight
protected int getSampleHeight(double millis) - Specified by:
getSampleHeightin classAbstractDebugChart
-
getSampleColor
protected int getSampleColor(long millis) - Specified by:
getSampleColorin classAbstractDebugChart
-