Compatibility
Minecraft: Java Edition
1.21β1.21.10
1.20.x
1.19.x
1.18.x
Platforms
Tags
Creators
Details
Licensed Apache-2.0
Published 10 months ago
Updated 10 months 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


