Class PacketSizeChart
java.lang.Object
net.minecraft.client.gui.hud.debug.DebugChart
net.minecraft.client.gui.hud.debug.PacketSizeChart
- Mappings:
Namespace Name official fguintermediary net/minecraft/class_8756named net/minecraft/client/gui/hud/debug/PacketSizeChart
-
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, getWidth, render
-
Field Details
-
field_45920
private static final int field_45920- See Also:
- Mappings:
Namespace Name Mixin selector official fLfgu;f:Iintermediary field_45920Lnet/minecraft/class_8756;field_45920:Inamed field_45920Lnet/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 gLfgu;g:Iintermediary field_45921Lnet/minecraft/class_8756;field_45921:Inamed field_45921Lnet/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 hLfgu;h:Iintermediary field_45922Lnet/minecraft/class_8756;field_45922:Inamed field_45922Lnet/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 iLfgu;i:Iintermediary field_45923Lnet/minecraft/class_8756;field_45923:Inamed field_45923Lnet/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 jLfgu;j:Iintermediary field_45924Lnet/minecraft/class_8756;field_45924:Inamed field_45924Lnet/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 kLfgu;k:Iintermediary field_45925Lnet/minecraft/class_8756;field_45925:Inamed field_45925Lnet/minecraft/client/gui/hud/debug/PacketSizeChart;field_45925:I
-
-
Constructor Details
-
PacketSizeChart
- Mappings:
Namespace Name Mixin selector official <init>Lfgt;<init>(Lfep;Lbkq;)Vintermediary <init>Lnet/minecraft/class_8755;<init>(Lnet/minecraft/class_327;Lnet/minecraft/class_9194;)Vnamed <init>Lnet/minecraft/client/gui/hud/debug/DebugChart;<init>(Lnet/minecraft/client/font/TextRenderer;Lnet/minecraft/util/profiler/log/MultiValueDebugSampleLog;)V
-
-
Method Details
-
renderThresholds
- Overrides:
renderThresholdsin classDebugChart- Mappings:
Namespace Name Mixin selector official dLfgt;d(Lfer;III)Vintermediary method_53473Lnet/minecraft/class_8755;method_53473(Lnet/minecraft/class_332;III)Vnamed renderThresholdsLnet/minecraft/client/gui/hud/debug/DebugChart;renderThresholds(Lnet/minecraft/client/gui/DrawContext;III)V
-
drawSizeBar
- Mappings:
Namespace Name Mixin selector official aLfgu;a(Lfer;IIII)Vintermediary method_53476Lnet/minecraft/class_8756;method_53476(Lnet/minecraft/class_332;IIII)Vnamed drawSizeBarLnet/minecraft/client/gui/hud/debug/PacketSizeChart;drawSizeBar(Lnet/minecraft/client/gui/DrawContext;IIII)V
-
drawSizeBar
- Mappings:
Namespace Name Mixin selector official aLfgu;a(Lfer;IIILjava/lang/String;)Vintermediary method_53477Lnet/minecraft/class_8756;method_53477(Lnet/minecraft/class_332;IIILjava/lang/String;)Vnamed drawSizeBarLnet/minecraft/client/gui/hud/debug/PacketSizeChart;drawSizeBar(Lnet/minecraft/client/gui/DrawContext;IIILjava/lang/String;)V
-
format
- Specified by:
formatin classDebugChart- Mappings:
Namespace Name Mixin selector official aLfgt;a(D)Ljava/lang/String;intermediary method_53468Lnet/minecraft/class_8755;method_53468(D)Ljava/lang/String;named formatLnet/minecraft/client/gui/hud/debug/DebugChart;format(D)Ljava/lang/String;
-
formatBytesPerSecond
- Mappings:
Namespace Name Mixin selector official cLfgu;c(D)Ljava/lang/String;intermediary method_53478Lnet/minecraft/class_8756;method_53478(D)Ljava/lang/String;named formatBytesPerSecondLnet/minecraft/client/gui/hud/debug/PacketSizeChart;formatBytesPerSecond(D)Ljava/lang/String;
-
getHeight
protected int getHeight(double value) - Specified by:
getHeightin classDebugChart- Mappings:
Namespace Name Mixin selector official bLfgt;b(D)Iintermediary method_53475Lnet/minecraft/class_8755;method_53475(D)Inamed getHeightLnet/minecraft/client/gui/hud/debug/DebugChart;getHeight(D)I
-
calculateHeight
private static int calculateHeight(double value) - Mappings:
Namespace Name Mixin selector official dLfgu;d(D)Iintermediary method_53479Lnet/minecraft/class_8756;method_53479(D)Inamed calculateHeightLnet/minecraft/client/gui/hud/debug/PacketSizeChart;calculateHeight(D)I
-
getColor
protected int getColor(long value) - Specified by:
getColorin classDebugChart- Mappings:
Namespace Name Mixin selector official aLfgt;a(J)Iintermediary method_53471Lnet/minecraft/class_8755;method_53471(J)Inamed getColorLnet/minecraft/client/gui/hud/debug/DebugChart;getColor(J)I
-
toBytesPerSecond
private static double toBytesPerSecond(double bytesPerTick) - Mappings:
Namespace Name Mixin selector official eLfgu;e(D)Dintermediary method_53480Lnet/minecraft/class_8756;method_53480(D)Dnamed toBytesPerSecondLnet/minecraft/client/gui/hud/debug/PacketSizeChart;toBytesPerSecond(D)D
-