Leaves Us In Peace
Fixing Annoying Leaf Decay in Minecraft
This mod completely reworks the leaf decay mechanics, making the process more convenient and predictable. Works on both servers and in single player.
Main Features
The mod offers three key improvements, each configurable to suit your needs:
Smart Leaf Detection - leaves now ignore other types of foliage when checking for decay. By default, only identical leaves match, but if corresponding tags are found, all leaves in those tags are considered part of the same tree. This is especially useful for mods adding trees with multiple leaf types.
Proper Log Detection - leaves ignore logs from other tree types. The system searches for tags with the log name and checks if they contain corresponding leaves. If no tag is found, the standard game mechanics apply.
Accelerated Decay - leaves disappear much faster. Uses an advanced algorithm that checks not only adjacent leaves but also diagonal ones, reducing the chance of stray leaves remaining.
Additional Effect - optionally, you can enable breaking sounds and particles when leaves decay.
Configuration
The mod supports Cloth Config and Mod Menu for convenient configuration, but they are not required. Main parameters include:
- Matching leaf types (enabled by default)
- Matching logs to leaves (enabled by default)
- Ignoring player-placed foliage
- Accelerated decay (enabled by default)
- Decay delay with customizable minimum and maximum values
- Updating diagonal leaves
- Decay effects
Compatibility
Built-in support for popular mods adding new biomes and trees, including Oh The Biomes We've Gone, Promenade, Traverse, and others. For additional compatibility, data packs can be used.
The mod properly handles unknown trees: leaves without tags consider only identical leaves as part of their tree, and unknown logs prevent decay of adjacent unknown leaves.
Technical Details
Works on Fabric and Quilt loaders. CC0 license allows free use and modification of the project.