Class PowerModule

java.lang.Object
mindustry.world.modules.BlockModule
mindustry.world.modules.PowerModule

public class PowerModule extends BlockModule
  • Field Details

    • status

      public float status
      In case of unbuffered consumers, this is the percentage (1.0f = 100%) of the demanded power which can be supplied. Blocks will work at a reduced efficiency if this is not equal to 1.0f. In case of buffered consumers, this is the percentage of power stored in relation to the maximum capacity.
    • init

      public boolean init
    • graph

      public PowerGraph graph
  • Constructor Details

    • PowerModule

      public PowerModule()
  • Method Details