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

public class PacketSizeChart

extends DebugChart

net.minecraft.client.gui.components.debugchart.BandwidthDebugChart
net.minecraft.class_8756
net.minecraft.client.gui.hud.debug.chart.PacketSizeChart

Field summary

Modifier and TypeField
private static final int
MIN_COLOR
field_45920
field_45920
private static final int
MID_COLOR
field_45921
field_45921
private static final int
MAX_COLOR
field_45922
field_45922
private static final int
KILOBYTE
field_45923
field_45923
private static final int
MEGABYTE
field_45924
field_45924
private static final int
CHART_TOP_VALUE
field_45925
field_45925

Constructor summary

ModifierConstructor
public (TextRenderer font, MultiValueDebugSampleLog sampleStorage)

Method summary

Modifier and TypeMethod
protected void
renderAdditionalLinesAndLabels(GuiGraphics graphics, int left, int width, int bottom)
method_53473(class_332 arg0, int arg1, int arg2, int arg3)
renderThresholds(DrawContext arg0, int arg1, int arg2, int arg3)
private void
drawLabeledLineAtValue(GuiGraphics graphics, int left, int width, int bottom, int bytesPerSecond)
method_53476(class_332 arg0, int arg1, int arg2, int arg3, int arg4)
drawSizeBar(DrawContext context, int x, int width, int height, int bytes)
private void
drawLineWithLabel(GuiGraphics graphics, int x, int width, int y, String label)
method_53477(class_332 arg0, int arg1, int arg2, int arg3, String arg4)
drawSizeBar(DrawContext context, int x, int width, int y, String label)
protected String
toDisplayString(double bytesPerTick)
method_53468(double arg0)
format(double arg0)
private static String
toDisplayStringInternal(double bytesPerSecond)
method_53478(double arg0)
formatBytesPerSecond(double value)
protected int
getSampleHeight(double bytesPerTick)
method_53475(double arg0)
getHeight(double arg0)
private static int
getSampleHeightInternal(double bytesPerSecond)
method_53479(double arg0)
calculateHeight(double value)
protected int
getSampleColor(long bytesPerTick)
method_53471(long arg0)
getColor(long arg0)
private static double
toBytesPerSecond(double bytesPerTick)
method_53480(double arg0)
toBytesPerSecond(double bytesPerTick)