Worlds populators
Worlds populators allow you to spawn custom blocks under the surface of the world. They are mostly used for ores and decoration blocks.
Example: two populators
This code allows you to tell ItemsAdder to generate the block myitems:custom_block
in the world named world
and replace only block of types STONE
, DIRT
, ANDESITE
, GRANITE
, COBBLESTONE
, GRAVEL
and only in biome PLAINS
.
It will spawn 1 vein made of 3 blocks in each chunk.
vein_blocks
, chunk_veins
, chunk_chance
vein_blocks
, chunk_veins
, chunk_chance
I suggest you to read values from the blocks.yml
file I created in the ItemsAdder folder.
Don't put too high values or the server could lag.
Take my values as example.
chunk_veins
: number of veins to be spawned in the chunk
vein_blocks
: number of blocks in each ore vein (or the vein size)
chunk_chance
: chance of that generation to happen in the chunk. You should set it to 100 to normal ores and lower it down for more rare ores.
Old ItemsAdder versions before 3.1.6 used these properties instead:
chunk_veins
-> iterations
vein_blocks
-> amount
chunk_chance
-> chance
Biomes
You can remove this option and the plugin will spawn ores in every biome.
Replaceable blocks
You can remove this option and the plugin will spawn ores replacing every block instead of checking if it can be replaced.
Last updated