Package mindustry.world.consumers
Class ConsumeItemFlammable
java.lang.Object
mindustry.world.consumers.Consume
mindustry.world.consumers.ConsumeItemFilter
mindustry.world.consumers.ConsumeItemFlammable
-
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
-
minFlammability
public float minFlammability
-
-
Constructor Details
-
ConsumeItemFlammable
public ConsumeItemFlammable(float minFlammability) -
ConsumeItemFlammable
public ConsumeItemFlammable()
-
-
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.
-