Class BandwidthDebugChart
java.lang.Object
net.minecraft.client.gui.components.debugchart.AbstractDebugChart
net.minecraft.client.gui.components.debugchart.BandwidthDebugChart
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final int
private static final int
private 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, logger
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
drawLabeledLineAtValue
(GuiGraphics p_297903_, int p_297652_, int p_298530_, int p_300952_, int p_298161_) private void
drawLineWithLabel
(GuiGraphics p_298208_, int p_300180_, int p_297727_, int p_299631_, String p_301319_) protected int
getSampleColor
(long p_297628_) protected int
getSampleHeight
(double p_299298_) private static int
getSampleHeightInternal
(double p_298407_) protected void
renderAdditionalLinesAndLabels
(GuiGraphics p_298580_, int p_298671_, int p_301018_, int p_300317_) private static double
toBytesPerSecond
(double p_298688_) protected String
toDisplayString
(double p_299768_) private static String
toDisplayStringInternal
(double p_299142_) Methods inherited from class net.minecraft.client.gui.components.debugchart.AbstractDebugChart
drawChart, drawStringWithShade, getSampleColor, getWidth
-
Field Details
-
MIN_COLOR
private static final int MIN_COLOR- See Also:
-
MID_COLOR
private static final int MID_COLOR- See Also:
-
MAX_COLOR
private static final int MAX_COLOR- See Also:
-
KILOBYTE
private static final int KILOBYTE- See Also:
-
MEGABYTE
private static final int MEGABYTE- See Also:
-
CHART_TOP_VALUE
private static final int CHART_TOP_VALUE- See Also:
-
-
Constructor Details
-
BandwidthDebugChart
-
-
Method Details
-
renderAdditionalLinesAndLabels
protected void renderAdditionalLinesAndLabels(GuiGraphics p_298580_, int p_298671_, int p_301018_, int p_300317_) - Overrides:
renderAdditionalLinesAndLabels
in classAbstractDebugChart
-
drawLabeledLineAtValue
private void drawLabeledLineAtValue(GuiGraphics p_297903_, int p_297652_, int p_298530_, int p_300952_, int p_298161_) -
drawLineWithLabel
private void drawLineWithLabel(GuiGraphics p_298208_, int p_300180_, int p_297727_, int p_299631_, String p_301319_) -
toDisplayString
- Specified by:
toDisplayString
in classAbstractDebugChart
-
toDisplayStringInternal
-
getSampleHeight
protected int getSampleHeight(double p_299298_) - Specified by:
getSampleHeight
in classAbstractDebugChart
-
getSampleHeightInternal
private static int getSampleHeightInternal(double p_298407_) -
getSampleColor
protected int getSampleColor(long p_297628_) - Specified by:
getSampleColor
in classAbstractDebugChart
-
toBytesPerSecond
private static double toBytesPerSecond(double p_298688_)
-