net.minecraft.client.gui.components.debugchart

public class BandwidthDebugChart

extends AbstractDebugChart

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

Field summary

Modifier and TypeField
private static final int
f
MIN_COLOR
field_45920
field_45920
private static final int
g
MID_COLOR
field_45921
field_45921
private static final int
h
MAX_COLOR
field_45922
field_45922
private static final int
i
KILOBYTE
field_45923
field_45923
private static final int
j
MEGABYTE
field_45924
field_45924
private static final int
k
CHART_TOP_VALUE
field_45925
field_45925

Constructor summary

ModifierConstructor
public (Font arg0, SampleStorage arg1)

Method summary

Modifier and TypeMethod
protected void
d(fns arg0, int arg1, int arg2, int arg3)
renderAdditionalLinesAndLabels(GuiGraphics arg0, int arg1, int arg2, int arg3)
method_53473(class_332 arg0, int arg1, int arg2, int arg3)
renderThresholds(DrawContext arg0, int arg1, int arg2, int arg3)
private void
a(fns arg0, int arg1, int arg2, int arg3, int arg4)
drawLabeledLineAtValue(GuiGraphics arg0, int arg1, int arg2, int arg3, int arg4)
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
a(fns arg0, int arg1, int arg2, int arg3, String arg4)
drawLineWithLabel(GuiGraphics arg0, int arg1, int arg2, int arg3, String arg4)
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
a(double arg0)
toDisplayString(double arg0)
method_53468(double arg0)
format(double arg0)
private static String
c(double arg0)
toDisplayStringInternal(double arg0)
method_53478(double arg0)
formatBytesPerSecond(double value)
protected int
b(double arg0)
getSampleHeight(double arg0)
method_53475(double arg0)
getHeight(double arg0)
private static int
d(double arg0)
getSampleHeightInternal(double arg0)
method_53479(double arg0)
calculateHeight(double value)
protected int
a(long arg0)
getSampleColor(long arg0)
method_53471(long arg0)
getColor(long arg0)
private static double
e(double arg0)
toBytesPerSecond(double arg0)
method_53480(double arg0)
toBytesPerSecond(double bytesPerTick)