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/PacketSizeChartintermediary net/minecraft/class_8756official fvo
-
Field Summary
FieldsModifier 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.DebugChart
field_45916, field_45917, log, TEXT_COLOR, textRenderer -
Constructor Summary
Constructors -
Method Summary
Modifier 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.DebugChart
drawBar, drawBorderedText, drawOverlayBar, drawTotalBar, get, getColor, getHeight, getWidth, render
-
Field Details
-
field_45920
private static final int field_45920- See Also:
- Mappings:
Namespace Name Mixin selector named field_45920Lnet/minecraft/client/gui/hud/debug/PacketSizeChart;field_45920:Iintermediary field_45920Lnet/minecraft/class_8756;field_45920:Iofficial fLfvo;f:I
-
field_45921
private static final int field_45921- See Also:
- Mappings:
Namespace Name Mixin selector named field_45921Lnet/minecraft/client/gui/hud/debug/PacketSizeChart;field_45921:Iintermediary field_45921Lnet/minecraft/class_8756;field_45921:Iofficial gLfvo;g:I
-
field_45922
private static final int field_45922- See Also:
- Mappings:
Namespace Name Mixin selector named field_45922Lnet/minecraft/client/gui/hud/debug/PacketSizeChart;field_45922:Iintermediary field_45922Lnet/minecraft/class_8756;field_45922:Iofficial hLfvo;h:I
-
field_45923
private static final int field_45923- See Also:
- Mappings:
Namespace Name Mixin selector named field_45923Lnet/minecraft/client/gui/hud/debug/PacketSizeChart;field_45923:Iintermediary field_45923Lnet/minecraft/class_8756;field_45923:Iofficial iLfvo;i:I
-
field_45924
private static final int field_45924- See Also:
- Mappings:
Namespace Name Mixin selector named field_45924Lnet/minecraft/client/gui/hud/debug/PacketSizeChart;field_45924:Iintermediary field_45924Lnet/minecraft/class_8756;field_45924:Iofficial jLfvo;j:I
-
field_45925
private static final int field_45925- See Also:
- Mappings:
Namespace Name Mixin selector named field_45925Lnet/minecraft/client/gui/hud/debug/PacketSizeChart;field_45925:Iintermediary field_45925Lnet/minecraft/class_8756;field_45925:Iofficial kLfvo;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;)Vintermediary <init>Lnet/minecraft/class_8755;<init>(Lnet/minecraft/class_327;Lnet/minecraft/class_9194;)Vofficial <init>Lfvn;<init>(Lfti;Lbpr;)V
-
-
Method Details
-
renderThresholds
- Overrides:
renderThresholdsin classDebugChart- Mappings:
Namespace Name Mixin selector named renderThresholdsLnet/minecraft/client/gui/hud/debug/DebugChart;renderThresholds(Lnet/minecraft/client/gui/DrawContext;III)Vintermediary method_53473Lnet/minecraft/class_8755;method_53473(Lnet/minecraft/class_332;III)Vofficial dLfvn;d(Lftk;III)V
-
drawSizeBar
- Mappings:
Namespace Name Mixin selector named drawSizeBarLnet/minecraft/client/gui/hud/debug/PacketSizeChart;drawSizeBar(Lnet/minecraft/client/gui/DrawContext;IIII)Vintermediary method_53476Lnet/minecraft/class_8756;method_53476(Lnet/minecraft/class_332;IIII)Vofficial aLfvo;a(Lftk;IIII)V
-
drawSizeBar
- Mappings:
Namespace Name Mixin selector named drawSizeBarLnet/minecraft/client/gui/hud/debug/PacketSizeChart;drawSizeBar(Lnet/minecraft/client/gui/DrawContext;IIILjava/lang/String;)Vintermediary method_53477Lnet/minecraft/class_8756;method_53477(Lnet/minecraft/class_332;IIILjava/lang/String;)Vofficial aLfvo;a(Lftk;IIILjava/lang/String;)V
-
format
- Specified by:
formatin classDebugChart- Mappings:
Namespace Name Mixin selector named formatLnet/minecraft/client/gui/hud/debug/DebugChart;format(D)Ljava/lang/String;intermediary method_53468Lnet/minecraft/class_8755;method_53468(D)Ljava/lang/String;official aLfvn;a(D)Ljava/lang/String;
-
formatBytesPerSecond
- Mappings:
Namespace Name Mixin selector named formatBytesPerSecondLnet/minecraft/client/gui/hud/debug/PacketSizeChart;formatBytesPerSecond(D)Ljava/lang/String;intermediary method_53478Lnet/minecraft/class_8756;method_53478(D)Ljava/lang/String;official cLfvo;c(D)Ljava/lang/String;
-
getHeight
protected int getHeight(double value) - Specified by:
getHeightin classDebugChart- Mappings:
Namespace Name Mixin selector named getHeightLnet/minecraft/client/gui/hud/debug/DebugChart;getHeight(D)Iintermediary method_53475Lnet/minecraft/class_8755;method_53475(D)Iofficial bLfvn;b(D)I
-
calculateHeight
private static int calculateHeight(double value) - Mappings:
Namespace Name Mixin selector named calculateHeightLnet/minecraft/client/gui/hud/debug/PacketSizeChart;calculateHeight(D)Iintermediary method_53479Lnet/minecraft/class_8756;method_53479(D)Iofficial dLfvo;d(D)I
-
getColor
protected int getColor(long value) - Specified by:
getColorin classDebugChart- Mappings:
Namespace Name Mixin selector named getColorLnet/minecraft/client/gui/hud/debug/DebugChart;getColor(J)Iintermediary method_53471Lnet/minecraft/class_8755;method_53471(J)Iofficial aLfvn;a(J)I
-
toBytesPerSecond
private static double toBytesPerSecond(double bytesPerTick) - Mappings:
Namespace Name Mixin selector named toBytesPerSecondLnet/minecraft/client/gui/hud/debug/PacketSizeChart;toBytesPerSecond(D)Dintermediary method_53480Lnet/minecraft/class_8756;method_53480(D)Dofficial eLfvo;e(D)D
-