Class PacketSizeChart
java.lang.Object
net.minecraft.client.gui.hud.debug.chart.DebugChart
net.minecraft.client.gui.hud.debug.chart.PacketSizeChart
- Mappings:
Namespace Name named net/minecraft/client/gui/hud/debug/chart/PacketSizeChartintermediary net/minecraft/class_8756official ggo
-
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.chart.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.chart.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/chart/PacketSizeChart;field_45920:Iintermediary field_45920Lnet/minecraft/class_8756;field_45920:Iofficial fLggo;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/chart/PacketSizeChart;field_45921:Iintermediary field_45921Lnet/minecraft/class_8756;field_45921:Iofficial gLggo;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/chart/PacketSizeChart;field_45922:Iintermediary field_45922Lnet/minecraft/class_8756;field_45922:Iofficial hLggo;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/chart/PacketSizeChart;field_45923:Iintermediary field_45923Lnet/minecraft/class_8756;field_45923:Iofficial iLggo;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/chart/PacketSizeChart;field_45924:Iintermediary field_45924Lnet/minecraft/class_8756;field_45924:Iofficial jLggo;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/chart/PacketSizeChart;field_45925:Iintermediary field_45925Lnet/minecraft/class_8756;field_45925:Iofficial kLggo;k:I
-
-
Constructor Details
-
PacketSizeChart
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/gui/hud/debug/chart/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>Lggn;<init>(Lgda;Lbwf;)V
-
-
Method Details
-
renderThresholds
- Overrides:
renderThresholdsin classDebugChart- Mappings:
Namespace Name Mixin selector named renderThresholdsLnet/minecraft/client/gui/hud/debug/chart/DebugChart;renderThresholds(Lnet/minecraft/client/gui/DrawContext;III)Vintermediary method_53473Lnet/minecraft/class_8755;method_53473(Lnet/minecraft/class_332;III)Vofficial dLggn;d(Lgdd;III)V
-
drawSizeBar
- Mappings:
Namespace Name Mixin selector named drawSizeBarLnet/minecraft/client/gui/hud/debug/chart/PacketSizeChart;drawSizeBar(Lnet/minecraft/client/gui/DrawContext;IIII)Vintermediary method_53476Lnet/minecraft/class_8756;method_53476(Lnet/minecraft/class_332;IIII)Vofficial aLggo;a(Lgdd;IIII)V
-
drawSizeBar
- Mappings:
Namespace Name Mixin selector named drawSizeBarLnet/minecraft/client/gui/hud/debug/chart/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 aLggo;a(Lgdd;IIILjava/lang/String;)V
-
format
- Specified by:
formatin classDebugChart- Mappings:
Namespace Name Mixin selector named formatLnet/minecraft/client/gui/hud/debug/chart/DebugChart;format(D)Ljava/lang/String;intermediary method_53468Lnet/minecraft/class_8755;method_53468(D)Ljava/lang/String;official aLggn;a(D)Ljava/lang/String;
-
formatBytesPerSecond
- Mappings:
Namespace Name Mixin selector named formatBytesPerSecondLnet/minecraft/client/gui/hud/debug/chart/PacketSizeChart;formatBytesPerSecond(D)Ljava/lang/String;intermediary method_53478Lnet/minecraft/class_8756;method_53478(D)Ljava/lang/String;official cLggo;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/chart/DebugChart;getHeight(D)Iintermediary method_53475Lnet/minecraft/class_8755;method_53475(D)Iofficial bLggn;b(D)I
-
calculateHeight
private static int calculateHeight(double value) - Mappings:
Namespace Name Mixin selector named calculateHeightLnet/minecraft/client/gui/hud/debug/chart/PacketSizeChart;calculateHeight(D)Iintermediary method_53479Lnet/minecraft/class_8756;method_53479(D)Iofficial dLggo;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/chart/DebugChart;getColor(J)Iintermediary method_53471Lnet/minecraft/class_8755;method_53471(J)Iofficial aLggn;a(J)I
-
toBytesPerSecond
private static double toBytesPerSecond(double bytesPerTick) - Mappings:
Namespace Name Mixin selector named toBytesPerSecondLnet/minecraft/client/gui/hud/debug/chart/PacketSizeChart;toBytesPerSecond(D)Dintermediary method_53480Lnet/minecraft/class_8756;method_53480(D)Dofficial eLggo;e(D)D
-