A simple world generator that creates a slightly less boring looking flat world.
Multiverse can be used to create a almost flat world using the command
/mv create <world_name> NORMAL -g AlmostFlatLands
The worlds section of the bukkit.yml file can also be used, information on that method is available on the wiki.
the default config file looks like this
prevent-spawning: true set-world-type: true world-height: 32 world-biome: PLAINS world-grass-chance: 14 world-flower-chance: 1 world-tree-chance: 15 world-tree-types: - TREE - BIRCH - BIG_TREE
When set to true no mobs will be allowed to spawn in worlds created with this generator.
when set to true the worlds created will have their type set to FLAT, this fixes the issue with the void fog but may cause issues with other plugins and is not supported by Bukkit.
The base height of the world, note that the maximum y value at any point may vary from this by a few blocks.
The name of the biome to be set for the world.
Controls the amount of long grass in the world, setting this to 100 would mean a long grass block above every grass block.
The same as world-grass-chance but for flowers. Note that this chance is the number of remaining blocks once the long grass has been generated.
Controls the chance that each chunk will contain a tree, setting this to 100 will mean 1 tree roughly every 16 blocks.
A list of trees to generate, each tree that is created is picked at random from this list.
Contributions to the project are very much welcome, if you have a feature that you want implemented and know a nice way to do it then consider forking the repo and submitting a pull request. These will be accepted as long as the following simple guidelines are followed.
- Do not edit the structure of the pom.xml file, feel free to add a dependency if you need it but the formatting and structure should not be changed.
- If you are exposing a new API method, add a JavaDoc comment to it, but don't over-comment internal code.
- Follow the existing code style, don't antagonise over every space though !
All dependencies that are used are now available from a public Maven repo, so you don't have to worry about building several other projects just to add a simple change any more.
Changes Since Last Release
Development builds of this project can be acquired at the provided continuous integration server. These builds have not been approved by the BukkitDev staff. Use them at your own risk.