Class ConsumeItemCharged


public class ConsumeItemCharged extends ConsumeItemFilter
For mods. I don't use this (yet).
  • Field Details

    • minCharge

      public float minCharge
  • Constructor Details

    • ConsumeItemCharged

      public ConsumeItemCharged(float minCharge)
    • ConsumeItemCharged

      public ConsumeItemCharged()
  • Method Details

    • efficiencyMultiplier

      public float efficiencyMultiplier(mindustry.gen.Building build)
      Overrides:
      efficiencyMultiplier in class Consume
      Returns:
      multiplier for efficiency - this can be above 1. Will not influence a building's base efficiency value.