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 SampleLogger
-
Constructor Summary
ModifierConstructorDescriptionprotected
AbstractDebugChart
(Font p_299029_, SampleLogger p_298721_) -
Method Summary
Modifier and TypeMethodDescriptionvoid
drawChart
(GuiGraphics p_298960_, int p_298986_, int p_298301_) 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_) 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
-
logger
-
-
Constructor Details
-
AbstractDebugChart
-
-
Method Details
-
getWidth
public int getWidth(int p_298843_) -
drawChart
-
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_)
-