Package forestry.api.farming
Interface IWaterConsumption
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Used to determine the water consumption of a Forestry farm.
-
Method Summary
Modifier and TypeMethodDescriptionintget(IFarmHousing housing, float hydrationModifier) Determines water consumption based on the farm's housing state and climate.
-
Method Details
-
get
Determines water consumption based on the farm's housing state and climate.- Parameters:
housing- The farm housing.hydrationModifier- A product of the farm's temperature, humidity, and rainfall.- Returns:
- The water consumption.
-