Package mindustry.world.consumers
Class ConsumeCoolant
java.lang.Object
mindustry.world.consumers.Consume
mindustry.world.consumers.ConsumeLiquidBase
mindustry.world.consumers.ConsumeLiquidFilter
mindustry.world.consumers.ConsumeCoolant
A ConsumeLiquidFilter that consumes specific coolant, selected based on stats.
-
Field Summary
Modifier and TypeFieldDescriptionboolean
boolean
float
float
Fields inherited from class mindustry.world.consumers.ConsumeLiquidFilter
filter
Fields inherited from class mindustry.world.consumers.ConsumeLiquidBase
amount
Fields inherited from class mindustry.world.consumers.Consume
booster, multiplier, optional, update
-
Constructor Summary
ConstructorDescriptionConsumeCoolant
(float amount) ConsumeCoolant
(float amount, boolean allowLiquid, boolean allowGas) -
Method Summary
Methods inherited from class mindustry.world.consumers.ConsumeLiquidFilter
apply, build, display, efficiency, getConsumed, update
-
Field Details
-
maxTemp
public float maxTemp -
maxFlammability
public float maxFlammability -
allowLiquid
public boolean allowLiquid -
allowGas
public boolean allowGas
-
-
Constructor Details
-
ConsumeCoolant
public ConsumeCoolant(float amount, boolean allowLiquid, boolean allowGas) -
ConsumeCoolant
public ConsumeCoolant(float amount) -
ConsumeCoolant
public ConsumeCoolant()
-