Class StatsComponent

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable

public class StatsComponent extends JComponent
See Also:
Serialized Form
  • Field Details

    • DECIMAL_FORMAT

      private static final DecimalFormat DECIMAL_FORMAT
    • values

      private final int[] values
    • vp

      private int vp
    • msgs

      private final String[] msgs
    • server

      private final MinecraftServer server
    • timer

      private final Timer timer
  • Constructor Details

  • Method Details

    • tick

      private void tick()
    • getAverage

      private double getAverage(long[] p_139970_)
    • paint

      public void paint(Graphics p_139973_)
      Overrides:
      paint in class JComponent
    • close

      public void close()