类 BandwidthDebugChart
java.lang.Object
net.minecraft.client.gui.components.debugchart.AbstractDebugChart
net.minecraft.client.gui.components.debugchart.BandwidthDebugChart
-
字段概要
字段修饰符和类型字段说明private static final int
private static final int
private static final int
private static final int
private static final int
private static final int
从类继承的字段 net.minecraft.client.gui.components.debugchart.AbstractDebugChart
CHART_HEIGHT, COLOR_GREY, font, LINE_WIDTH, sampleStorage
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明private 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_) 从类继承的方法 net.minecraft.client.gui.components.debugchart.AbstractDebugChart
drawAdditionalDimensions, drawChart, drawDimensions, drawMainDimension, drawStringWithShade, getFullHeight, getSampleColor, getValueForAggregation, getWidth
-
字段详细资料
-
MIN_COLOR
private static final int MIN_COLOR- 另请参阅:
-
MID_COLOR
private static final int MID_COLOR- 另请参阅:
-
MAX_COLOR
private static final int MAX_COLOR- 另请参阅:
-
KILOBYTE
private static final int KILOBYTE- 另请参阅:
-
MEGABYTE
private static final int MEGABYTE- 另请参阅:
-
CHART_TOP_VALUE
private static final int CHART_TOP_VALUE- 另请参阅:
-
-
构造器详细资料
-
BandwidthDebugChart
-
-
方法详细资料
-
renderAdditionalLinesAndLabels
protected void renderAdditionalLinesAndLabels(GuiGraphics p_298580_, int p_298671_, int p_301018_, int p_300317_) -
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
- 指定者:
toDisplayString
在类中AbstractDebugChart
-
toDisplayStringInternal
-
getSampleHeight
protected int getSampleHeight(double p_299298_) - 指定者:
getSampleHeight
在类中AbstractDebugChart
-
getSampleHeightInternal
private static int getSampleHeightInternal(double p_298407_) -
getSampleColor
protected int getSampleColor(long p_297628_) - 指定者:
getSampleColor
在类中AbstractDebugChart
-
toBytesPerSecond
private static double toBytesPerSecond(double p_298688_)
-