net.minecraft.client.gui.hud.debug.chart

public abstract class DebugChart

net.minecraft.client.gui.components.debugchart.AbstractDebugChart
net.minecraft.class_8755
net.minecraft.client.gui.hud.debug.chart.DebugChart

Field summary

Modifier and TypeField
protected static final int
CHART_HEIGHT
field_45916
field_45916
protected static final int
LINE_WIDTH
field_45917
field_45917
protected final TextRenderer
font
field_45918
textRenderer
protected final MultiValueDebugSampleLog
sampleStorage
field_45919
log

Constructor summary

ModifierConstructor
protected (TextRenderer textRenderer, MultiValueDebugSampleLog log)

Method summary

Modifier and TypeMethod
public int
getWidth(int maxWidth)
method_53470(int arg0)
getWidth(int centerX)
public int
getFullHeight()
method_61983()
getHeight()
public void
drawChart(GuiGraphics graphics, int left, int width)
method_53472(class_332 arg0, int arg1, int arg2)
render(DrawContext context, int x, int width)
protected void
drawDimensions(GuiGraphics graphics, int bottom, int currentX, int sampleIndex)
method_56578(class_332 arg0, int arg1, int arg2, int arg3)
drawBar(DrawContext context, int y, int x, int index)
protected void
drawMainDimension(GuiGraphics graphics, int bottom, int currentX, int sampleIndex)
method_56580(class_332 arg0, int arg1, int arg2, int arg3)
drawTotalBar(DrawContext context, int y, int x, int index)
protected void
drawAdditionalDimensions(GuiGraphics graphics, int bottom, int currentX, int sampleIndex)
method_56581(class_332 arg0, int arg1, int arg2, int arg3)
drawOverlayBar(DrawContext context, int y, int x, int index)
protected long
getValueForAggregation(int sampleIndex)
method_56579(int arg0)
get(int index)
protected void
renderAdditionalLinesAndLabels(GuiGraphics graphics, int left, int width, int bottom)
method_53473(class_332 arg0, int arg1, int arg2, int arg3)
renderThresholds(DrawContext context, int x, int width, int height)
protected void
drawStringWithShade(GuiGraphics graphics, String str, int x, int y)
method_53474(class_332 arg0, String arg1, int arg2, int arg3)
drawBorderedText(DrawContext context, String string, int x, int y)
protected abstract String
toDisplayString(double sample)
method_53468(double arg0)
format(double value)
protected abstract int
getSampleHeight(double sample)
method_53475(double arg0)
getHeight(double value)
protected abstract int
getSampleColor(long sample)
method_53471(long arg0)
getColor(long value)
protected int
getSampleColor(double sample, double min, int minColor, double mid, int midColor, double max, int maxColor)
method_53469(double arg0, double arg1, int arg2, double arg3, int arg4, double arg5, int arg6)
getColor(double value, double min, int minColor, double median, int medianColor, double max, int maxColor)