Trees and trees populators
Creating the leaves and wood blocks
In order to create a custom tree you have to create two blocks for each tree: leaves and wood.
Follow this tutorial to create blocks
BlockFor example I created 2 blocks by following the tutorial: my_leaves
, my_log
.
Creating the sapling (optional)
The sapling item
The custom tree populator
a
Generate trees in the world
First read this tutorial on creating the tree blocks (leaved and wood)
End dimension
It's advised not to spawn the trees in the END dimension because it has some problems.
Vanilla trees bug
Sometimes trees will spawn with vanilla leaves, this is a known issue and I have no solution for this. Seems to be a Minecraft/Spigot bug, seems an event used by IA sometimes is not triggered.
Big trees lag
Big trees COULD cause some lag on generation, please use only small tree types.
Other problems
Make the trees spawn randomly
In order to make trees spawn in the world you have to create a tree_populator
.
worlds
This property specifies the worlds where the tree can spawn.
bottom_block
This property specifies on which block the tree can spawn.
chance
Chance of the tree to spawn in a chunk.
min_height and max_height
Decide the interval of height where you want the tree to spawn.
amount
How many trees to spawn per group.
iterations
How many groups needs to be spawned in the current chunk if the chance is matched.
tree_type
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.
leaves
The block to be used as leaves for this tree.
log
The block to be used as log for this tree.
biomes
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.
Example
Last updated