Status: Using semi-failed 12w08a source code to add stuff to support 1.2!
This plugin allows developers to generate custom terrain with many of the default terrain generators from minecraft. More generators are always in the works and it won't be long before I have ported the generator to generate Normal worlds!
When you download the source, you may look at the file called world.generation.test.Generator to find the generator I use to test the library
The default cave generator was the first thing I added to the libary, here is the code you will use to start off with
MapGenCaves caveGen = new MapGenCaves(); caveGen.generate(world, i, j, result);
"result" is the already generated world (you can fill it with stone or whatever) in the byte[32768] format!
Source can be found on Git Hub, press repository at the top, then go to the Git Hub URL
