InstantLeafDecay Module
The InstantLeafDecay module controls how leaves decay on your server, allowing for faster decay and item drops while reducing server lag caused by lingering leaf blocks.
InstantLeafDecay:
enabled: true
worlds:
- '*'
values:
drop_items: true
tree_distance: 7
leaves_decay: true🧩 Option Explanations
🔹Drop items (drop_items)
drop_items)Determines whether items drop when leaves decay.
true→ leaves will drop saplings, apples, and other items.false→ leaves decay silently without dropping items.
🔹 Tree distance (tree_distance)
tree_distance)Maximum distance (in blocks) from a tree trunk that leaves can decay.
Example:
7→ leaves further than 7 blocks from the trunk will not decay automatically.
🔹 Leaves decay (leaves_decay)
leaves_decay)Controls automatic leaf decay.
true→ leaves decay naturally over time.false→ leaves only decay when broken by players.
Last updated