A simple world generator that creates a slightly less boring looking flat world.
Usage
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.
Config
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
prevent-spawning
When set to true no mobs will be allowed to spawn in worlds created with this generator.
set-world-type
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.
world-height
The base height of the world, note that the maximum y value at any point may vary from this by a few blocks.
world-biome
The name of the biome to be set for the world.
world-grass-chance
Controls the amount of long grass in the world, setting this to 100 would mean a long grass block above every grass block.
world-flower-chance
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.
world-tree-chance
Controls the chance that each chunk will contain a tree, setting this to 100 will mean 1 tree roughly every 16 blocks.
world-tree-types
A list of trees to generate, each tree that is created is picked at random from this list.
Contributing
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.
Source Code
Dev Builds
Changes Since Last Release
Download
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.
http://bukkit.jacekk.co.uk:8000/job/AlmostFlatLands/