Compatibility
Minecraft: Java Edition
1.21.x
1.20.x
1.19.x
1.18.x
Platforms
Creators
Details
Licensed Apache-2.0
Published 2 weeks ago
Updated 2 weeks ago
๐ InstaLeafDecay
A Minecraft Spigot/Paper plugin module that allows leaves to decay instantly when logs are broken or nearby leaves decay.
This enhances tree-farming gameplay by speeding up leaf removal while respecting natural decay mechanics.
โ๏ธ Features
- ๐ Instant leaf decay when breaking logs
- ๐ Automatically breaks leaves when nearby leaves decay naturally
- ๐ฟ Prevents persistent leaves (e.g., player-placed) from decaying
- โก Lightweight and efficient โ uses optimized recursive checks
- ๐ Limits leaf breaking to a configurable distance internally for performance
๐ Installation
- Include this module/plugin
.jarin your serverโsplugins/folder - Start or reload your server
- Works immediately โ no configuration needed
๐งฉ Developer Information
Main listener class:
de.scholle.minecrafthelden.external.InstaLeafDecay.BlockBreakEventListener
Key methods & behavior:
onBlockBreak(BlockBreakEvent event)โ Breaks leaves near broken logs instantlyonLeavesDecay(LeavesDecayEvent event)โ Breaks nearby leaves instantly during natural decaybreakLeaf(Block block, boolean breakFirstBlock, Block originalBlock)โ Recursively handles leaf breakingisValidLeaf(Block block, Block originalBlock)โ Ensures leaves are valid for decay, ignoring persistent or distant blocks
Notes:
- Persistent leaves are ignored to prevent accidental removal of player-placed foliage
- Uses a taxicab-distance based check to optimize performance
๐งฐ Compatibility
- โ Works on Spigot, Paper, and Purpur
- ๐งฑ Compatible with Minecraft 1.18+
- โ๏ธ Requires Java 17+
๐งโ๐ป Author
Developed by: Scholle
Package: de.scholle.minecrafthelden.external.InstaLeafDecay
๐ License
This project is licensed under the Apache License 2.0.
You may use, modify, and distribute it in compliance with the terms of that license.
For more information, see: http://www.apache.org/licenses/LICENSE-2.0



