Class PingDebugChart
java.lang.Object
net.minecraft.client.gui.components.debugchart.AbstractDebugChart
net.minecraft.client.gui.components.debugchart.PingDebugChart
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final int
private static final int
private static final int
private static final int
Fields inherited from class net.minecraft.client.gui.components.debugchart.AbstractDebugChart
CHART_HEIGHT, COLOR_GREY, font, LINE_WIDTH, sampleStorage
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected int
getSampleColor
(long p_298402_) protected int
getSampleHeight
(double p_298980_) protected void
renderAdditionalLinesAndLabels
(GuiGraphics p_299050_, int p_298600_, int p_298302_, int p_298207_) protected String
toDisplayString
(double p_298261_) Methods inherited from class net.minecraft.client.gui.components.debugchart.AbstractDebugChart
drawAdditionalDimensions, drawChart, drawDimensions, drawMainDimension, drawStringWithShade, getSampleColor, getValueForAggregation, 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_299050_, int p_298600_, int p_298302_, int p_298207_) - Overrides:
renderAdditionalLinesAndLabels
in classAbstractDebugChart
-
toDisplayString
- Specified by:
toDisplayString
in classAbstractDebugChart
-
getSampleHeight
protected int getSampleHeight(double p_298980_) - Specified by:
getSampleHeight
in classAbstractDebugChart
-
getSampleColor
protected int getSampleColor(long p_298402_) - Specified by:
getSampleColor
in classAbstractDebugChart
-