Class PacketSizeChart

java.lang.Object
net.minecraft.client.gui.hud.debug.DebugChart
net.minecraft.client.gui.hud.debug.PacketSizeChart

@Environment(CLIENT) public class PacketSizeChart extends DebugChart
Mappings:
Namespace Name
official eue
intermediary net/minecraft/class_8756
named net/minecraft/client/gui/hud/debug/PacketSizeChart
  • Field Details

    • field_45920

      private static final int field_45920
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official f Leue;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 Leue;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 Leue;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 Leue;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 Leue;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 Leue;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

      public PacketSizeChart(TextRenderer textRenderer, PerformanceLog log)
      Mappings:
      Namespace Name Mixin selector
      official <init> Leud;<init>(Lesd;Lase;)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

      protected void renderThresholds(DrawContext context, int x, int width, int height)
      Overrides:
      renderThresholds in class DebugChart
      Mappings:
      Namespace Name Mixin selector
      official a Leud;a(Lesf;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

      private void drawSizeBar(DrawContext context, int x, int width, int height, int bytes)
      Mappings:
      Namespace Name Mixin selector
      official a Leue;a(Lesf;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

      private void drawSizeBar(DrawContext context, int x, int width, int y, String label)
      Mappings:
      Namespace Name Mixin selector
      official a Leue;a(Lesf;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

      protected String format(double value)
      Specified by:
      format in class DebugChart
      Mappings:
      Namespace Name Mixin selector
      official a Leud;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

      private static String formatBytesPerSecond(double value)
      Mappings:
      Namespace Name Mixin selector
      official c Leue;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 class DebugChart
      Mappings:
      Namespace Name Mixin selector
      official b Leud;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 Leue;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 class DebugChart
      Mappings:
      Namespace Name Mixin selector
      official a Leud;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 Leue;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