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, sampleStorage
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
drawLabeledLineAtValue
(GuiGraphics p_298765_, int p_298499_, int p_299090_, int p_299218_, int p_299096_) private void
drawLineWithLabel
(GuiGraphics p_298513_, int p_299197_, int p_298663_, int p_299258_, String p_298779_) protected int
getSampleColor
(long p_298852_) protected int
getSampleHeight
(double p_298596_) private static int
getSampleHeightInternal
(double p_298204_) protected void
renderAdditionalLinesAndLabels
(GuiGraphics p_298777_, int p_298875_, int p_298575_, int p_298572_) private static double
toBytesPerSecond
(double p_298720_) protected String
toDisplayString
(double p_299213_) private static String
toDisplayStringInternal
(double p_299224_) Methods inherited from class net.minecraft.client.gui.components.debugchart.AbstractDebugChart
drawAdditionalDimensions, drawChart, drawDimensions, drawMainDimension, drawStringWithShade, getSampleColor, getValueForAggregation, 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_298777_, int p_298875_, int p_298575_, int p_298572_) - Overrides:
renderAdditionalLinesAndLabels
in classAbstractDebugChart
-
drawLabeledLineAtValue
private void drawLabeledLineAtValue(GuiGraphics p_298765_, int p_298499_, int p_299090_, int p_299218_, int p_299096_) -
drawLineWithLabel
private void drawLineWithLabel(GuiGraphics p_298513_, int p_299197_, int p_298663_, int p_299258_, String p_298779_) -
toDisplayString
- Specified by:
toDisplayString
in classAbstractDebugChart
-
toDisplayStringInternal
-
getSampleHeight
protected int getSampleHeight(double p_298596_) - Specified by:
getSampleHeight
in classAbstractDebugChart
-
getSampleHeightInternal
private static int getSampleHeightInternal(double p_298204_) -
getSampleColor
protected int getSampleColor(long p_298852_) - Specified by:
getSampleColor
in classAbstractDebugChart
-
toBytesPerSecond
private static double toBytesPerSecond(double p_298720_)
-