类 TpsDebugChart
java.lang.Object
net.minecraft.client.gui.components.debugchart.AbstractDebugChart
net.minecraft.client.gui.components.debugchart.TpsDebugChart
-
字段概要
字段修饰符和类型字段说明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
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明protected void
drawAdditionalDimensions
(GuiGraphics p_330453_, int p_332124_, int p_334033_, int p_330538_) protected int
getSampleColor
(long p_300761_) protected int
getSampleHeight
(double p_299260_) protected long
getValueForAggregation
(int p_335820_) protected void
renderAdditionalLinesAndLabels
(GuiGraphics p_297354_, int p_298051_, int p_298343_, int p_299488_) protected String
toDisplayString
(double p_301254_) private static double
toMilliseconds
(double p_300655_) 从类继承的方法 net.minecraft.client.gui.components.debugchart.AbstractDebugChart
drawChart, drawDimensions, drawMainDimension, drawStringWithShade, getFullHeight, getSampleColor, getWidth
-
字段详细资料
-
TICK_METHOD_COLOR
private static final int TICK_METHOD_COLOR- 另请参阅:
-
TASK_COLOR
private static final int TASK_COLOR- 另请参阅:
-
OTHER_COLOR
private static final int OTHER_COLOR- 另请参阅:
-
msptSupplier
-
-
构造器详细资料
-
TpsDebugChart
-
-
方法详细资料
-
renderAdditionalLinesAndLabels
protected void renderAdditionalLinesAndLabels(GuiGraphics p_297354_, int p_298051_, int p_298343_, int p_299488_) -
drawAdditionalDimensions
protected void drawAdditionalDimensions(GuiGraphics p_330453_, int p_332124_, int p_334033_, int p_330538_) -
getValueForAggregation
protected long getValueForAggregation(int p_335820_) -
toDisplayString
- 指定者:
toDisplayString
在类中AbstractDebugChart
-
getSampleHeight
protected int getSampleHeight(double p_299260_) - 指定者:
getSampleHeight
在类中AbstractDebugChart
-
getSampleColor
protected int getSampleColor(long p_300761_) - 指定者:
getSampleColor
在类中AbstractDebugChart
-
toMilliseconds
private static double toMilliseconds(double p_300655_)
-