I'm making a Survival Island plugin, but I don't know how to add vanilla-like caves, ravines, mineshafts, etc. to it. Is there something in Bukkit that will generate it, or a external libary?
You might be able to use Terrain Control as far as integration without... using the plugin itself. Other than that... this is about it. This one first. Contd of first. You could also look here.
@nbrandwine I already have the code that generates the map, except underground structures like caves.
@Sparaat Look at the generation/population of basegame cave systems. Look at the math that creates the caves, and copy it to your plugin. https://github.com/Bukkit/mc-dev/tree/master/net/minecraft/server
I think that I need this part of the code: Code: private WorldGenBase t = new WorldGenCaves(); But, to use t.a();, I need to give an IChunkProvider (in the code, ChunkproviderGenerate) up as a parameter. I can't find in the code where I can get that, it is everywere private.