AlmostFlatLands
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/
@BlueBerryWizard
Yes to pumpkin patches, no to the rest. This was meant to be a creative world :(
@wide_load Can you make sure all the basic blocks currently missing (sand, clay, etc.) can be found underground and pumpkins/watermelons grow in patches once in awhile so they can be used for farming?
Anything that can't be found I'll have to create shops for people to buy it and it just wouldn't be the same as digging/mining it out.
Maybe you could do it regionally where some areas are predominately gravel, some are predominantly sand, and some predominantly clay?
I just want all those resources to be there.
@BlueBerryWizard
I can certainly add surface lakes for water and lava, caves are also possible, anything more would be a bit too much for what I wanted this to be.
@wide_load
I didn't ask you to add mountains. I just meant patches where stone is evident at the surface aka "small rocky outcroppings". It would be retarded to add mountains as then this wouldn't even be "AlmostFlatLands" and it might as well be the default world generator like you say. It's not necessary anyways. My main concern is that at the moment players can't find every type of ore/block they need to make various things like sand for glass.
Caves would just be underground. It doesn't change things that much at least not on the surface. Where else are we going to get water from in the world? I'd probably have to sell water buckets in a shop at spawn or world-edit in some lakes otherwise.
@BlueBerryWizard
You are forgetting that the whole point of this world is that is it meant to be very simple, if I go adding mountains and caves it would only need biomes to be the default world generator.
I based the concentrations and heights for the ores on the data form the Vanilla generator, a few tweaks were made since there is no as much stone available by default.
I've tried it out now with the latest build and also have a whole bunch of screencaps of all the ores once you remove the dirt and stone with world edit.
I think you should have random pockets/tunnels of dirt underground to dig out so we can use that dirt for patching up projects above ground.
I also think you should have clumps of clay spawning all over the place in patches probably near the dirt so people can make brick houses and sand in some places for making glass.
The random ore deposits clumping patterns seem alright. You can look up I think on the Minecraft wiki how exactly they are supposed to spawn and in what quantity and what patterns.
The distribution of the ores appears to be completely random resulting in a very even distribution of all ore types everywhere. Maybe you may want to make some regions have higher concentrations of certain ores and other regions lower concentration at random?
I noticed two patches of considerable size where there weren't any ores. I guess that was just random luck though.
I think on the surface you should add some regions where small rocky outcroppings are formed?
Underground you need random pockets of air with water or lava at the bottom too otherwise there is no water or lava in the world at all.
There are a couple of ores that are missing that need to be added in.
@BlueBerryWizard
Ore is added in the latest dev build if you want to be adventurous and help test ? :P
@BlueBerryWizard
It will be a few days at least. You can subscribe to file updates :)
@wide_load
I think caves would be somewhat complicated but not really adding ores. I think it's just done in random bunches with certain ores being more likely to spawn at deeper depths and less so nearer to the surface.
I've been checking in every few hours waiting for your next update btw. When can I expect it to be done?
@BlueBerryWizard
The reason you get default leaves is because they are not in jungle biomes, the biome for the entire world is set to plains. If I make it configurable you can try changing it.
I already said I would add stone ._. caves and ores are not simple to add as far as I know but I will look into it.
Updating to 1.4.7 made the config work for me so I could change the base height to 64.
When I tried to make it generate jungle tree bushes, it generates the jungle tree wood, but the leaves are oak leaves... I don't think that's how it's supposed to be but I may be mistaken.
It's all dirt down to bedrock and I would much prefer stone.
Can you please add stone to make up a lot of the layer and an option for ores and another option for caves to be randomly generated? I really want to use this for survival.
@BlueBerryWizard
Noted.
I really like this terrain generator but I wish it had a layer of natural stone underneath the dirt and ores would be generated. Please update it so it can do that and also for some reason I can't seem to change the world height to 64. It stays at base height 32 which is annoying.
@dougdashwitz
Did you restart the server after editing the config ? It should work :/
Love the work, first gen i've found that does this.
that being said, it doesnt look like the config is working, at least for me.
im trying to set a world height of about 60, yet it only seems to make a world at about 32
let me know if im doing anything wrong
@pantherccc
Thanks :P Those may work but it depends on how they do it. It is possible certainly.
Or maybe OrePlus?
P.S. Do u think that AlmostFlatLands + Cave Ore Veins(Another Plugin that u might want to read about) will make this map have ores?
Well thx anyway. i think it is a great map and plz inform me if u get any new maps with ores. Good Luck with your plugin making career. ;-)
@pantherccc
I probably won't be adding ores, this was really meant for creative worlds. Would be a bit boring for survival ? :/