Class PlayerStatsGui

java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
net.minecraft.server.dedicated.gui.PlayerStatsGui
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable

public class PlayerStatsGui extends JComponent
See Also:
Mappings:
Namespace Name
official aba
intermediary net/minecraft/class_3186
named net/minecraft/server/dedicated/gui/PlayerStatsGui
  • Field Details

    • AVG_TICK_FORMAT

      private static final DecimalFormat AVG_TICK_FORMAT
      Mappings:
      Namespace Name Mixin selector
      official a Laba;a:Ljava/text/DecimalFormat;
      intermediary field_13846 Lnet/minecraft/class_3186;field_13846:Ljava/text/DecimalFormat;
      named AVG_TICK_FORMAT Lnet/minecraft/server/dedicated/gui/PlayerStatsGui;AVG_TICK_FORMAT:Ljava/text/DecimalFormat;
    • memoryUsePercentage

      private final int[] memoryUsePercentage
      Mappings:
      Namespace Name Mixin selector
      official b Laba;b:[I
      intermediary field_13845 Lnet/minecraft/class_3186;field_13845:[I
      named memoryUsePercentage Lnet/minecraft/server/dedicated/gui/PlayerStatsGui;memoryUsePercentage:[I
    • memoryUsePercentagePos

      private int memoryUsePercentagePos
      Mappings:
      Namespace Name Mixin selector
      official c Laba;c:I
      intermediary field_13848 Lnet/minecraft/class_3186;field_13848:I
      named memoryUsePercentagePos Lnet/minecraft/server/dedicated/gui/PlayerStatsGui;memoryUsePercentagePos:I
    • lines

      private final String[] lines
      Mappings:
      Namespace Name Mixin selector
      official d Laba;d:[Ljava/lang/String;
      intermediary field_13847 Lnet/minecraft/class_3186;field_13847:[Ljava/lang/String;
      named lines Lnet/minecraft/server/dedicated/gui/PlayerStatsGui;lines:[Ljava/lang/String;
    • server

      private final MinecraftServer server
      Mappings:
      Namespace Name Mixin selector
      official e Laba;e:Lnet/minecraft/server/MinecraftServer;
      intermediary field_13849 Lnet/minecraft/class_3186;field_13849:Lnet/minecraft/server/MinecraftServer;
      named server Lnet/minecraft/server/dedicated/gui/PlayerStatsGui;server:Lnet/minecraft/server/MinecraftServer;
    • timer

      private final Timer timer
      Mappings:
      Namespace Name Mixin selector
      official f Laba;f:Ljavax/swing/Timer;
      intermediary field_16858 Lnet/minecraft/class_3186;field_16858:Ljavax/swing/Timer;
      named timer Lnet/minecraft/server/dedicated/gui/PlayerStatsGui;timer:Ljavax/swing/Timer;
  • Constructor Details

    • PlayerStatsGui

      public PlayerStatsGui(MinecraftServer server)
      Mappings:
      Namespace Name Mixin selector
      official <init> Laba;<init>(Lnet/minecraft/server/MinecraftServer;)V
      intermediary <init> Lnet/minecraft/class_3186;<init>(Lnet/minecraft/server/MinecraftServer;)V
      named <init> Lnet/minecraft/server/dedicated/gui/PlayerStatsGui;<init>(Lnet/minecraft/server/MinecraftServer;)V
  • Method Details

    • update

      private void update()
      Mappings:
      Namespace Name Mixin selector
      official b Laba;b()V
      intermediary method_13982 Lnet/minecraft/class_3186;method_13982()V
      named update Lnet/minecraft/server/dedicated/gui/PlayerStatsGui;update()V
    • average

      private double average(long[] values)
      Mappings:
      Namespace Name Mixin selector
      official a Laba;a([J)D
      intermediary method_13980 Lnet/minecraft/class_3186;method_13980([J)D
      named average Lnet/minecraft/server/dedicated/gui/PlayerStatsGui;average([J)D
    • paint

      public void paint(Graphics graphics)
      Overrides:
      paint in class JComponent
      Mappings:
      Namespace Name Mixin selector
      official paint Laba;paint(Ljava/awt/Graphics;)V
      intermediary paint Lnet/minecraft/class_3186;paint(Ljava/awt/Graphics;)V
      named paint Lnet/minecraft/server/dedicated/gui/PlayerStatsGui;paint(Ljava/awt/Graphics;)V
    • stop

      public void stop()
      Mappings:
      Namespace Name Mixin selector
      official a Laba;a()V
      intermediary method_16751 Lnet/minecraft/class_3186;method_16751()V
      named stop Lnet/minecraft/server/dedicated/gui/PlayerStatsGui;stop()V