Class StatUnit

java.lang.Object
mindustry.world.meta.StatUnit

public class StatUnit extends Object
Defines a unit of measurement for block stats.
  • Field Details

    • blocks

      public static final StatUnit blocks
    • blocksSquared

      public static final StatUnit blocksSquared
    • tilesSecond

      public static final StatUnit tilesSecond
    • powerSecond

      public static final StatUnit powerSecond
    • liquidSecond

      public static final StatUnit liquidSecond
    • itemsSecond

      public static final StatUnit itemsSecond
    • liquidUnits

      public static final StatUnit liquidUnits
    • powerUnits

      public static final StatUnit powerUnits
    • heatUnits

      public static final StatUnit heatUnits
    • degrees

      public static final StatUnit degrees
    • seconds

      public static final StatUnit seconds
    • minutes

      public static final StatUnit minutes
    • perSecond

      public static final StatUnit perSecond
    • perMinute

      public static final StatUnit perMinute
    • perShot

      public static final StatUnit perShot
    • timesSpeed

      public static final StatUnit timesSpeed
    • percent

      public static final StatUnit percent
    • shieldHealth

      public static final StatUnit shieldHealth
    • none

      public static final StatUnit none
    • items

      public static final StatUnit items
    • space

      public final boolean space
    • name

      public final String name
    • icon

      @Nullable public String icon
  • Constructor Details

    • StatUnit

      public StatUnit(String name, boolean space)
    • StatUnit

      public StatUnit(String name)
    • StatUnit

      public StatUnit(String name, String icon)
  • Method Details

    • localized

      public String localized()