hoqhuuep / IslandCraft

IslandCraft is a Bukkit plugin which modifies the terrain generation to create an ocean with many islands.
http://dev.bukkit.org/bukkit-plugins/islandcraft/
MIT License
27 stars 14 forks source link

API Get main biome #1

Open Melonking906 opened 10 years ago

Melonking906 commented 10 years ago

Could you add an API ability to get the main biome of an island. Would be handy since the biome at the centre is not always the main one.

hoqhuuep commented 10 years ago

I think this is a good idea! I can see where it could be useful, for example displaying the "main" biome of an island, or teleporting to the nearest island.

To implement this I think the com.github.hoqhuuep.islandcraft.api.IslandGenerator would have to be extended to add the method "getPrimaryBiome() -> Biome".

Thanks for raising this!