mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-19 11:49:14 +00:00
Update for 1.11. Missing assets, unstable.
This commit is contained in:
1 parent
30d7365518
commit
9611ae08ae
1145 files changed
+15561
-18107
No files matched your search
@@ -8,38 +8,34 @@ package forestry.api.climate;
|
||||
import java.util.Collection;
|
||||
import java.util.Map;
|
||||
|
||||
import javax.annotation.Nonnull;
|
||||
|
||||
import forestry.api.core.INbtReadable;
|
||||
import forestry.api.core.INbtWritable;
|
||||
import net.minecraft.util.math.BlockPos;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
public interface IClimateRegion extends INbtReadable, INbtWritable {
|
||||
|
||||
@Nonnull
|
||||
|
||||
World getWorld();
|
||||
|
||||
|
||||
/**
|
||||
* Update the climate in a region.
|
||||
*/
|
||||
void updateClimate(int ticks);
|
||||
|
||||
|
||||
int getTicksPerUpdate();
|
||||
|
||||
@Nonnull
|
||||
|
||||
Map<BlockPos, IClimatePosition> getPositions();
|
||||
|
||||
|
||||
void addSource(IClimateSource source);
|
||||
|
||||
|
||||
void removeSource(IClimateSource source);
|
||||
|
||||
|
||||
Collection<IClimateSource> getSources();
|
||||
|
||||
|
||||
Collection<BlockPos> getOtherPositions();
|
||||
|
||||
|
||||
float getTemperature();
|
||||
|
||||
|
||||
float getHumidity();
|
||||
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user