Package mindustry.world.consumers
Class ConsumeItemCharged
java.lang.Object
mindustry.world.consumers.Consume
mindustry.world.consumers.ConsumeItemFilter
mindustry.world.consumers.ConsumeItemCharged
For mods. I don't use this (yet).
-
Field Summary
Fields inherited from class mindustry.world.consumers.ConsumeItemFilter
filter
Fields inherited from class mindustry.world.consumers.Consume
booster, multiplier, optional, update
-
Constructor Summary
-
Method Summary
Methods inherited from class mindustry.world.consumers.ConsumeItemFilter
apply, build, display, efficiency, getConsumed, trigger, update
-
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 classConsume
- Returns:
- multiplier for efficiency - this can be above 1. Will not influence a building's base efficiency value.
-