Class BandwidthDebugChart
java.lang.Object
net.minecraft.client.gui.components.debugchart.AbstractDebugChart
net.minecraft.client.gui.components.debugchart.BandwidthDebugChart
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intFields inherited from class net.minecraft.client.gui.components.debugchart.AbstractDebugChartCHART_HEIGHT, COLOR_GREY, font, LINE_WIDTH, logger
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprivate voiddrawLabeledLineAtValue(GuiGraphics p_297903_, int p_297652_, int p_298530_, int p_300952_, int p_298161_) private voiddrawLineWithLabel(GuiGraphics p_298208_, int p_300180_, int p_297727_, int p_299631_, String p_301319_) protected intgetSampleColor(long p_297628_) protected intgetSampleHeight(double p_299298_) private static intgetSampleHeightInternal(double p_298407_) protected voidrenderAdditionalLinesAndLabels(GuiGraphics p_298580_, int p_298671_, int p_301018_, int p_300317_) private static doubletoBytesPerSecond(double p_298688_) protected StringtoDisplayString(double p_299768_) private static StringtoDisplayStringInternal(double p_299142_) Methods inherited from class net.minecraft.client.gui.components.debugchart.AbstractDebugChartdrawChart, drawStringWithShade, getSampleColor, getWidth
- 
Field Details- 
MIN_COLORprivate static final int MIN_COLOR- See Also:
 
- 
MID_COLORprivate static final int MID_COLOR- See Also:
 
- 
MAX_COLORprivate static final int MAX_COLOR- See Also:
 
- 
KILOBYTEprivate static final int KILOBYTE- See Also:
 
- 
MEGABYTEprivate static final int MEGABYTE- See Also:
 
- 
CHART_TOP_VALUEprivate static final int CHART_TOP_VALUE- See Also:
 
 
- 
- 
Constructor Details- 
BandwidthDebugChart
 
- 
- 
Method Details- 
renderAdditionalLinesAndLabelsprotected void renderAdditionalLinesAndLabels(GuiGraphics p_298580_, int p_298671_, int p_301018_, int p_300317_) - Overrides:
- renderAdditionalLinesAndLabelsin class- AbstractDebugChart
 
- 
drawLabeledLineAtValueprivate void drawLabeledLineAtValue(GuiGraphics p_297903_, int p_297652_, int p_298530_, int p_300952_, int p_298161_) 
- 
drawLineWithLabelprivate void drawLineWithLabel(GuiGraphics p_298208_, int p_300180_, int p_297727_, int p_299631_, String p_301319_) 
- 
toDisplayString- Specified by:
- toDisplayStringin class- AbstractDebugChart
 
- 
toDisplayStringInternal
- 
getSampleHeightprotected int getSampleHeight(double p_299298_) - Specified by:
- getSampleHeightin class- AbstractDebugChart
 
- 
getSampleHeightInternalprivate static int getSampleHeightInternal(double p_298407_) 
- 
getSampleColorprotected int getSampleColor(long p_297628_) - Specified by:
- getSampleColorin class- AbstractDebugChart
 
- 
toBytesPerSecondprivate static double toBytesPerSecond(double p_298688_) 
 
-