Class AbstractDebugChart
java.lang.Object
net.minecraft.client.gui.components.debugchart.AbstractDebugChart
- Direct Known Subclasses:
BandwidthDebugChart,FpsDebugChart,PingDebugChart,TpsDebugChart
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final intprotected static final intprotected final Fontprotected static final intprotected final SampleLogger -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractDebugChart(Font p_299029_, SampleLogger p_298721_) -
Method Summary
Modifier and TypeMethodDescriptionvoiddrawChart(GuiGraphics p_298960_, int p_298986_, int p_298301_) protected voiddrawStringWithShade(GuiGraphics p_298386_, String p_298809_, int p_298657_, int p_298698_) protected intgetSampleColor(double p_298217_, double p_298257_, int p_298676_, double p_299233_, int p_298930_, double p_299140_, int p_298542_) protected abstract intgetSampleColor(long p_299300_) protected abstract intgetSampleHeight(double p_298971_) intgetWidth(int p_298843_) protected voidrenderAdditionalLinesAndLabels(GuiGraphics p_298895_, int p_298979_, int p_298732_, int p_299176_) protected abstract StringtoDisplayString(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_)
-