mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-16 10:34:53 +00:00
27 lines
761 B
Java
27 lines
761 B
Java
/*******************************************************************************
|
|
* Copyright 2011-2014 SirSengir
|
|
*
|
|
* This work (the API) is licensed under the "MIT" License, see LICENSE.txt for details.
|
|
******************************************************************************/
|
|
package forestry.api.climate;
|
|
|
|
/**
|
|
* A climate source is used to change the climate in a region.
|
|
*/
|
|
public interface IClimateSource {
|
|
|
|
/**
|
|
* @param tickCount The current tick count.
|
|
* @param region The climate region, in that the source stands.
|
|
*/
|
|
void changeClimate(int tickCount, IClimateRegion region);
|
|
|
|
/**
|
|
* @return The ticks that are required for one change.
|
|
*/
|
|
int getTicksForChange(IClimateRegion region);
|
|
|
|
IClimateSourceProvider getProvider();
|
|
|
|
}
|