mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-20 20:12:19 +00:00
Automatic code reformatting
This commit is contained in:
1 parent
9611ae08ae
commit
8cfafec6f9
672 files changed
+2462
-2985
No files matched your search
@@ -8,25 +8,27 @@ import forestry.api.core.EnumTemperature;
|
||||
public interface IClimateHelper {
|
||||
/**
|
||||
* Determines whether the given temperature and humidity are within the given constraints.
|
||||
*
|
||||
* @param temperature The temperature to test.
|
||||
* @param humidity The humidity to test.
|
||||
* @param baseTemp Base temperature for the test.
|
||||
* @param tolTemp Temperature tolerance to apply.
|
||||
* @param baseHumid Base humidity for the test.
|
||||
* @param tolHumid Humidity tolerance to apply.
|
||||
* @param humidity The humidity to test.
|
||||
* @param baseTemp Base temperature for the test.
|
||||
* @param tolTemp Temperature tolerance to apply.
|
||||
* @param baseHumid Base humidity for the test.
|
||||
* @param tolHumid Humidity tolerance to apply.
|
||||
* @return true if both temperature and humidity fit the given constraints.
|
||||
*/
|
||||
boolean isWithinLimits(EnumTemperature temperature, EnumHumidity humidity,
|
||||
EnumTemperature baseTemp, EnumTolerance tolTemp,
|
||||
EnumHumidity baseHumid, EnumTolerance tolHumid);
|
||||
EnumTemperature baseTemp, EnumTolerance tolTemp,
|
||||
EnumHumidity baseHumid, EnumTolerance tolHumid);
|
||||
|
||||
boolean isWithinLimits(EnumTemperature temperature, EnumTemperature baseTemp, EnumTolerance tolTemp);
|
||||
|
||||
boolean isWithinLimits(EnumHumidity humidity, EnumHumidity baseHumid, EnumTolerance tolHumid);
|
||||
|
||||
|
||||
/**
|
||||
* Gets a collection of humidities which fit the given parameters.
|
||||
* @param prefered Base humidity from which to measure.
|
||||
*
|
||||
* @param prefered Base humidity from which to measure.
|
||||
* @param tolerance Tolerance to apply to the base humidity.
|
||||
* @return A collection of humidities which fall within the given parameters.
|
||||
*/
|
||||
@@ -34,14 +36,16 @@ public interface IClimateHelper {
|
||||
|
||||
/**
|
||||
* Gets a collection of temperatures which fit the given parameters.
|
||||
* @param prefered Base temperature from which to measure.
|
||||
*
|
||||
* @param prefered Base temperature from which to measure.
|
||||
* @param tolerance Tolerance to apply to the base temperatures.
|
||||
* @return A collection of temperatures which fall within the given parameters.
|
||||
*/
|
||||
Collection<EnumTemperature> getToleratedTemperature(EnumTemperature prefered, EnumTolerance tolerance);
|
||||
|
||||
|
||||
/**
|
||||
* Gets a localized, human readable string for the given temperature.
|
||||
*
|
||||
* @param temperature Temperature to generate the string for.
|
||||
* @return A localized, human readable string for the given temperature.
|
||||
*/
|
||||
@@ -49,6 +53,7 @@ public interface IClimateHelper {
|
||||
|
||||
/**
|
||||
* Gets a localized, human readable string for the given humidity.
|
||||
*
|
||||
* @param humidity Humidity to generate the string for.
|
||||
* @return A localized, human readable string for the given humidity.
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user