mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-22 04:52:26 +00:00
Merge branch 'mc-1.10' of https://github.com/ForestryMC/ForestryMC into mc-1.10
This commit is contained in:
commit
418f00abf2
25 files changed
+244
-257
No files matched your search
@@ -5,15 +5,10 @@
|
||||
******************************************************************************/
|
||||
package forestry.api.climate;
|
||||
|
||||
import net.minecraft.util.math.BlockPos;
|
||||
import net.minecraft.world.World;
|
||||
import forestry.api.core.ILocatable;
|
||||
|
||||
public interface IClimateControlProvider {
|
||||
public interface IClimateControlProvider extends ILocatable {
|
||||
|
||||
IClimateControl getClimateControl();
|
||||
|
||||
World getWorld();
|
||||
|
||||
BlockPos getCoordinates();
|
||||
|
||||
}
|
||||
@@ -9,13 +9,13 @@ 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.
|
||||
*/
|
||||
|
||||
@@ -5,15 +5,9 @@
|
||||
******************************************************************************/
|
||||
package forestry.api.climate;
|
||||
|
||||
import net.minecraft.util.math.BlockPos;
|
||||
import net.minecraft.world.World;
|
||||
import forestry.api.core.ILocatable;
|
||||
|
||||
public interface IClimateSourceProvider {
|
||||
public interface IClimateSourceProvider extends ILocatable {
|
||||
|
||||
IClimateSource getClimateSource();
|
||||
|
||||
World getWorld();
|
||||
|
||||
BlockPos getCoordinates();
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user