Class PacketSizeChart
java.lang.Object
net.minecraft.client.gui.hud.debug.DebugChart
net.minecraft.client.gui.hud.debug.PacketSizeChart
- Mappings:
- Namespace - Name - named - net/minecraft/client/gui/hud/debug/PacketSizeChart- intermediary - net/minecraft/class_8756- official - fqk
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intprivate static final intFields inherited from class net.minecraft.client.gui.hud.debug.DebugChartfield_45916, field_45917, log, TEXT_COLOR, textRenderer
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprivate static intcalculateHeight(double value) private voiddrawSizeBar(DrawContext context, int x, int width, int height, int bytes) private voiddrawSizeBar(DrawContext context, int x, int width, int y, String label) protected Stringformat(double value) private static StringformatBytesPerSecond(double value) protected intgetColor(long value) protected intgetHeight(double value) protected voidrenderThresholds(DrawContext context, int x, int width, int height) private static doubletoBytesPerSecond(double bytesPerTick) Methods inherited from class net.minecraft.client.gui.hud.debug.DebugChartdrawBar, drawBorderedText, drawOverlayBar, drawTotalBar, get, getColor, getHeight, getWidth, render
- 
Field Details- 
field_45920private static final int field_45920- See Also:
- Mappings:
- Namespace - Name - Mixin selector - named - field_45920- Lnet/minecraft/client/gui/hud/debug/PacketSizeChart;field_45920:I- intermediary - field_45920- Lnet/minecraft/class_8756;field_45920:I- official - f- Lfqk;f:I
 
- 
field_45921private static final int field_45921- See Also:
- Mappings:
- Namespace - Name - Mixin selector - named - field_45921- Lnet/minecraft/client/gui/hud/debug/PacketSizeChart;field_45921:I- intermediary - field_45921- Lnet/minecraft/class_8756;field_45921:I- official - g- Lfqk;g:I
 
- 
field_45922private static final int field_45922- See Also:
- Mappings:
- Namespace - Name - Mixin selector - named - field_45922- Lnet/minecraft/client/gui/hud/debug/PacketSizeChart;field_45922:I- intermediary - field_45922- Lnet/minecraft/class_8756;field_45922:I- official - h- Lfqk;h:I
 
- 
field_45923private static final int field_45923- See Also:
- Mappings:
- Namespace - Name - Mixin selector - named - field_45923- Lnet/minecraft/client/gui/hud/debug/PacketSizeChart;field_45923:I- intermediary - field_45923- Lnet/minecraft/class_8756;field_45923:I- official - i- Lfqk;i:I
 
- 
field_45924private static final int field_45924- See Also:
- Mappings:
- Namespace - Name - Mixin selector - named - field_45924- Lnet/minecraft/client/gui/hud/debug/PacketSizeChart;field_45924:I- intermediary - field_45924- Lnet/minecraft/class_8756;field_45924:I- official - j- Lfqk;j:I
 
- 
field_45925private static final int field_45925- See Also:
- Mappings:
- Namespace - Name - Mixin selector - named - field_45925- Lnet/minecraft/client/gui/hud/debug/PacketSizeChart;field_45925:I- intermediary - field_45925- Lnet/minecraft/class_8756;field_45925:I- official - k- Lfqk;k:I
 
 
- 
- 
Constructor Details- 
PacketSizeChart- Mappings:
- Namespace - Name - Mixin selector - named - <init>- Lnet/minecraft/client/gui/hud/debug/DebugChart;<init>(Lnet/minecraft/client/font/TextRenderer;Lnet/minecraft/util/profiler/log/MultiValueDebugSampleLog;)V- intermediary - <init>- Lnet/minecraft/class_8755;<init>(Lnet/minecraft/class_327;Lnet/minecraft/class_9194;)V- official - <init>- Lfqj;<init>(Lfod;Lbni;)V
 
 
- 
- 
Method Details- 
renderThresholds- Overrides:
- renderThresholdsin class- DebugChart
- Mappings:
- Namespace - Name - Mixin selector - named - renderThresholds- Lnet/minecraft/client/gui/hud/debug/DebugChart;renderThresholds(Lnet/minecraft/client/gui/DrawContext;III)V- intermediary - method_53473- Lnet/minecraft/class_8755;method_53473(Lnet/minecraft/class_332;III)V- official - d- Lfqj;d(Lfof;III)V
 
- 
drawSizeBar- Mappings:
- Namespace - Name - Mixin selector - named - drawSizeBar- Lnet/minecraft/client/gui/hud/debug/PacketSizeChart;drawSizeBar(Lnet/minecraft/client/gui/DrawContext;IIII)V- intermediary - method_53476- Lnet/minecraft/class_8756;method_53476(Lnet/minecraft/class_332;IIII)V- official - a- Lfqk;a(Lfof;IIII)V
 
- 
drawSizeBar- Mappings:
- Namespace - Name - Mixin selector - named - drawSizeBar- Lnet/minecraft/client/gui/hud/debug/PacketSizeChart;drawSizeBar(Lnet/minecraft/client/gui/DrawContext;IIILjava/lang/String;)V- intermediary - method_53477- Lnet/minecraft/class_8756;method_53477(Lnet/minecraft/class_332;IIILjava/lang/String;)V- official - a- Lfqk;a(Lfof;IIILjava/lang/String;)V
 
- 
format- Specified by:
- formatin class- DebugChart
- Mappings:
- Namespace - Name - Mixin selector - named - format- Lnet/minecraft/client/gui/hud/debug/DebugChart;format(D)Ljava/lang/String;- intermediary - method_53468- Lnet/minecraft/class_8755;method_53468(D)Ljava/lang/String;- official - a- Lfqj;a(D)Ljava/lang/String;
 
- 
formatBytesPerSecond- Mappings:
- Namespace - Name - Mixin selector - named - formatBytesPerSecond- Lnet/minecraft/client/gui/hud/debug/PacketSizeChart;formatBytesPerSecond(D)Ljava/lang/String;- intermediary - method_53478- Lnet/minecraft/class_8756;method_53478(D)Ljava/lang/String;- official - c- Lfqk;c(D)Ljava/lang/String;
 
- 
getHeightprotected int getHeight(double value) - Specified by:
- getHeightin class- DebugChart
- Mappings:
- Namespace - Name - Mixin selector - named - getHeight- Lnet/minecraft/client/gui/hud/debug/DebugChart;getHeight(D)I- intermediary - method_53475- Lnet/minecraft/class_8755;method_53475(D)I- official - b- Lfqj;b(D)I
 
- 
calculateHeightprivate static int calculateHeight(double value) - Mappings:
- Namespace - Name - Mixin selector - named - calculateHeight- Lnet/minecraft/client/gui/hud/debug/PacketSizeChart;calculateHeight(D)I- intermediary - method_53479- Lnet/minecraft/class_8756;method_53479(D)I- official - d- Lfqk;d(D)I
 
- 
getColorprotected int getColor(long value) - Specified by:
- getColorin class- DebugChart
- Mappings:
- Namespace - Name - Mixin selector - named - getColor- Lnet/minecraft/client/gui/hud/debug/DebugChart;getColor(J)I- intermediary - method_53471- Lnet/minecraft/class_8755;method_53471(J)I- official - a- Lfqj;a(J)I
 
- 
toBytesPerSecondprivate static double toBytesPerSecond(double bytesPerTick) - Mappings:
- Namespace - Name - Mixin selector - named - toBytesPerSecond- Lnet/minecraft/client/gui/hud/debug/PacketSizeChart;toBytesPerSecond(D)D- intermediary - method_53480- Lnet/minecraft/class_8756;method_53480(D)D- official - e- Lfqk;e(D)D
 
 
-