Populator
In order to make trees spawn in the world you have to create a
tree_populator
.info:
namespace: myitems
trees_populators:
my_tree:
worlds:
- world
bottom_blocks:
- DIRT
- GRASS_BLOCK
- PODZOL
chance: 40.0
max_height: 100
min_height: 50
amount: 3
iterations: 2
tree_type: TREE
leaves: myitems:my_leaves
log: myitems:my_log
biomes:
- PLAINS
- SUNFLOWER_PLAINS
- MOUNTAINS
This property specifies the worlds where the tree can spawn.
This property specifies on which block the tree can spawn.
Chance of the tree to spawn in a chunk.
Decide the interval of height where you want the tree to spawn.
How many trees to spawn per group.
How many groups needs to be spawned in the current chunk if the chance is matched.
The type of the tree to be spawned. A full list can be found here.
This property is optional, this tree will spawn on every biome if you don't set it.
The block to be used as leaves for this tree.
The block to be used as log for this tree.
The list of biomes where the tree can spawn. A full list can be found here.
This property is optional, this tree will spawn on every biome if you don't set it.

Last modified 6mo ago