Class AbstractDebugChart
java.lang.Object
net.minecraft.client.gui.components.debugchart.AbstractDebugChart
- Direct Known Subclasses:
BandwidthDebugChart
,FpsDebugChart
,PingDebugChart
,TpsDebugChart
-
Field Summary
Modifier and TypeFieldDescriptionprotected static final int
protected static final int
protected final Font
protected static final int
protected final SampleStorage
-
Constructor Summary
ModifierConstructorDescriptionprotected
AbstractDebugChart
(Font p_299029_, SampleStorage p_324391_) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
drawAdditionalDimensions
(GuiGraphics p_321486_, int p_321516_, int p_321827_, int p_321819_) void
drawChart
(GuiGraphics p_298960_, int p_298986_, int p_298301_) protected void
drawDimensions
(GuiGraphics p_321561_, int p_321861_, int p_321591_, int p_321654_) protected void
drawMainDimension
(GuiGraphics p_321499_, int p_321849_, int p_321568_, int p_321766_) protected void
drawStringWithShade
(GuiGraphics p_298386_, String p_298809_, int p_298657_, int p_298698_) protected int
getSampleColor
(double p_298217_, double p_298257_, int p_298676_, double p_299233_, int p_298930_, double p_299140_, int p_298542_) protected abstract int
getSampleColor
(long p_299300_) protected abstract int
getSampleHeight
(double p_298971_) protected long
getValueForAggregation
(int p_321706_) int
getWidth
(int p_298843_) protected void
renderAdditionalLinesAndLabels
(GuiGraphics p_298895_, int p_298979_, int p_298732_, int p_299176_) protected abstract String
toDisplayString
(double p_298241_)
-
Field Details
-
COLOR_GREY
protected static final int COLOR_GREY- See Also:
-
CHART_HEIGHT
protected static final int CHART_HEIGHT- See Also:
-
LINE_WIDTH
protected static final int LINE_WIDTH- See Also:
-
font
-
sampleStorage
-
-
Constructor Details
-
AbstractDebugChart
-
-
Method Details
-
getWidth
public int getWidth(int p_298843_) -
drawChart
-
drawDimensions
-
drawMainDimension
protected void drawMainDimension(GuiGraphics p_321499_, int p_321849_, int p_321568_, int p_321766_) -
drawAdditionalDimensions
protected void drawAdditionalDimensions(GuiGraphics p_321486_, int p_321516_, int p_321827_, int p_321819_) -
getValueForAggregation
protected long getValueForAggregation(int p_321706_) -
renderAdditionalLinesAndLabels
protected void renderAdditionalLinesAndLabels(GuiGraphics p_298895_, int p_298979_, int p_298732_, int p_299176_) -
drawStringWithShade
protected void drawStringWithShade(GuiGraphics p_298386_, String p_298809_, int p_298657_, int p_298698_) -
toDisplayString
-
getSampleHeight
protected abstract int getSampleHeight(double p_298971_) -
getSampleColor
protected abstract int getSampleColor(long p_299300_) -
getSampleColor
protected int getSampleColor(double p_298217_, double p_298257_, int p_298676_, double p_299233_, int p_298930_, double p_299140_, int p_298542_)
-