Class PacketSizeChart
java.lang.Object
net.minecraft.client.gui.hud.debug.DebugChart
net.minecraft.client.gui.hud.debug.PacketSizeChart
- Mappings:
Namespace Name official eyv
intermediary net/minecraft/class_8756
named net/minecraft/client/gui/hud/debug/PacketSizeChart
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final int
private static final int
private static final int
private static final int
private static final int
private static final int
Fields inherited from class net.minecraft.client.gui.hud.debug.DebugChart
field_45916, field_45917, log, TEXT_COLOR, textRenderer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static int
calculateHeight
(double value) private void
drawSizeBar
(DrawContext context, int x, int width, int height, int bytes) private void
drawSizeBar
(DrawContext context, int x, int width, int y, String label) protected String
format
(double value) private static String
formatBytesPerSecond
(double value) protected int
getColor
(long value) protected int
getHeight
(double value) protected void
renderThresholds
(DrawContext context, int x, int width, int height) private static double
toBytesPerSecond
(double bytesPerTick) Methods inherited from class net.minecraft.client.gui.hud.debug.DebugChart
drawBorderedText, getColor, getWidth, render
-
Field Details
-
field_45920
private static final int field_45920- See Also:
- Mappings:
Namespace Name Mixin selector official f
Leyv;f:I
intermediary field_45920
Lnet/minecraft/class_8756;field_45920:I
named field_45920
Lnet/minecraft/client/gui/hud/debug/PacketSizeChart;field_45920:I
-
field_45921
private static final int field_45921- See Also:
- Mappings:
Namespace Name Mixin selector official g
Leyv;g:I
intermediary field_45921
Lnet/minecraft/class_8756;field_45921:I
named field_45921
Lnet/minecraft/client/gui/hud/debug/PacketSizeChart;field_45921:I
-
field_45922
private static final int field_45922- See Also:
- Mappings:
Namespace Name Mixin selector official h
Leyv;h:I
intermediary field_45922
Lnet/minecraft/class_8756;field_45922:I
named field_45922
Lnet/minecraft/client/gui/hud/debug/PacketSizeChart;field_45922:I
-
field_45923
private static final int field_45923- See Also:
- Mappings:
Namespace Name Mixin selector official i
Leyv;i:I
intermediary field_45923
Lnet/minecraft/class_8756;field_45923:I
named field_45923
Lnet/minecraft/client/gui/hud/debug/PacketSizeChart;field_45923:I
-
field_45924
private static final int field_45924- See Also:
- Mappings:
Namespace Name Mixin selector official j
Leyv;j:I
intermediary field_45924
Lnet/minecraft/class_8756;field_45924:I
named field_45924
Lnet/minecraft/client/gui/hud/debug/PacketSizeChart;field_45924:I
-
field_45925
private static final int field_45925- See Also:
- Mappings:
Namespace Name Mixin selector official k
Leyv;k:I
intermediary field_45925
Lnet/minecraft/class_8756;field_45925:I
named field_45925
Lnet/minecraft/client/gui/hud/debug/PacketSizeChart;field_45925:I
-
-
Constructor Details
-
PacketSizeChart
- Mappings:
Namespace Name Mixin selector official <init>
Leyu;<init>(Lews;Lauy;)V
intermediary <init>
Lnet/minecraft/class_8755;<init>(Lnet/minecraft/class_327;Lnet/minecraft/class_8743;)V
named <init>
Lnet/minecraft/client/gui/hud/debug/DebugChart;<init>(Lnet/minecraft/client/font/TextRenderer;Lnet/minecraft/util/profiler/PerformanceLog;)V
-
-
Method Details
-
renderThresholds
- Overrides:
renderThresholds
in classDebugChart
- Mappings:
Namespace Name Mixin selector official a
Leyu;a(Lewu;III)V
intermediary method_53473
Lnet/minecraft/class_8755;method_53473(Lnet/minecraft/class_332;III)V
named renderThresholds
Lnet/minecraft/client/gui/hud/debug/DebugChart;renderThresholds(Lnet/minecraft/client/gui/DrawContext;III)V
-
drawSizeBar
- Mappings:
Namespace Name Mixin selector official a
Leyv;a(Lewu;IIII)V
intermediary method_53476
Lnet/minecraft/class_8756;method_53476(Lnet/minecraft/class_332;IIII)V
named drawSizeBar
Lnet/minecraft/client/gui/hud/debug/PacketSizeChart;drawSizeBar(Lnet/minecraft/client/gui/DrawContext;IIII)V
-
drawSizeBar
- Mappings:
Namespace Name Mixin selector official a
Leyv;a(Lewu;IIILjava/lang/String;)V
intermediary method_53477
Lnet/minecraft/class_8756;method_53477(Lnet/minecraft/class_332;IIILjava/lang/String;)V
named drawSizeBar
Lnet/minecraft/client/gui/hud/debug/PacketSizeChart;drawSizeBar(Lnet/minecraft/client/gui/DrawContext;IIILjava/lang/String;)V
-
format
- Specified by:
format
in classDebugChart
- Mappings:
Namespace Name Mixin selector official a
Leyu;a(D)Ljava/lang/String;
intermediary method_53468
Lnet/minecraft/class_8755;method_53468(D)Ljava/lang/String;
named format
Lnet/minecraft/client/gui/hud/debug/DebugChart;format(D)Ljava/lang/String;
-
formatBytesPerSecond
- Mappings:
Namespace Name Mixin selector official c
Leyv;c(D)Ljava/lang/String;
intermediary method_53478
Lnet/minecraft/class_8756;method_53478(D)Ljava/lang/String;
named formatBytesPerSecond
Lnet/minecraft/client/gui/hud/debug/PacketSizeChart;formatBytesPerSecond(D)Ljava/lang/String;
-
getHeight
protected int getHeight(double value) - Specified by:
getHeight
in classDebugChart
- Mappings:
Namespace Name Mixin selector official b
Leyu;b(D)I
intermediary method_53475
Lnet/minecraft/class_8755;method_53475(D)I
named getHeight
Lnet/minecraft/client/gui/hud/debug/DebugChart;getHeight(D)I
-
calculateHeight
private static int calculateHeight(double value) - Mappings:
Namespace Name Mixin selector official d
Leyv;d(D)I
intermediary method_53479
Lnet/minecraft/class_8756;method_53479(D)I
named calculateHeight
Lnet/minecraft/client/gui/hud/debug/PacketSizeChart;calculateHeight(D)I
-
getColor
protected int getColor(long value) - Specified by:
getColor
in classDebugChart
- Mappings:
Namespace Name Mixin selector official a
Leyu;a(J)I
intermediary method_53471
Lnet/minecraft/class_8755;method_53471(J)I
named getColor
Lnet/minecraft/client/gui/hud/debug/DebugChart;getColor(J)I
-
toBytesPerSecond
private static double toBytesPerSecond(double bytesPerTick) - Mappings:
Namespace Name Mixin selector official e
Leyv;e(D)D
intermediary method_53480
Lnet/minecraft/class_8756;method_53480(D)D
named toBytesPerSecond
Lnet/minecraft/client/gui/hud/debug/PacketSizeChart;toBytesPerSecond(D)D
-