Skip to main content
A tree is a flora entry with a tree: section. It has no item of its own: it grows from a sapling, from new chunks if you let it generate, or from /lodeitems tree. A tree takes three things you already know how to make, plus the tree itself:
  • a log and leaves, which are plain blocks: your own, or any vanilla block such as oak_log and cherry_leaves;
  • a sapling (type: flora with sapling:), if players should be able to grow it;
  • the tree (type: flora with tree:), which says what it’s made of and how it’s shaped.
items/flora/willow/willow.yml
Wherever a tree names a block (log, leaves, the targets of replace), a bare name means a Lode Items block first, then a vanilla one. A vanilla block can carry properties: oak_leaves[persistent=true].

Two ways to shape a tree

Procedural

Made up fresh each time from your settings: height, trunk width, lean, branches, leaves and crown shape.

From schematics

Your own builds, saved with WorldEdit or a structure block, with blocks swapped as it grows.
A tree is procedural unless it has schematics:.

How a tree grows

When a sapling grows, a tree generates or you use /lodeitems tree, the tree is planned first, then placed:
  • It only grows if its trunk and branches have room. Wood may replace air, plants, leaves, walk-through and see-through Lode Items blocks, and the sapling itself. If anything else is in the way, nothing is placed and the sapling stays and tries again later.
  • Leaves only go where there is room: air and plants. They never replace other blocks.
  • Vanilla leaves get their real distance to the wood, so they decay when the tree is cut down, just like natural ones. Leaves that would be too far from any wood to stay are left out.
Vanilla leaves only count logs in the #minecraft:logs tag as wood. If you put vanilla leaves on one of your own logs, give the log tags: [logs], or its leaves decay as soon as something next to them changes.

Trying a tree out

Grows the tree with its trunk’s base at that spot, with no sapling or soil needed. Use it to tune a tree’s settings: change them, /lodeitems reload, and grow another.

Not yet supported

  • Your own leaves blocks never decay, even when the tree is cut down. Vanilla leaves do.
  • Protection plugins can’t stop a sapling growing a tree into the area they protect.
  • 2x2 saplings that grow giant trees, like dark oak and jungle saplings.