Rapid Leaf Decay Mod — Guide
Mechanics
The mod operates by monitoring block updates related to logs. When a log block is broken, the mod identifies adjacent leaf blocks and checks their distance from the nearest log. If a leaf block is no longer within the valid range of a log (typically 7 blocks in vanilla), the mod schedules it for rapid removal.
Decay Logic
Unlike vanilla decay, which relies on random ticks, Rapid Leaf Decay uses a scheduled task system. This ensures that decay happens predictably and quickly without putting excessive strain on the server's CPU. The mod processes leaf blocks in a chain-like fashion, often resulting in a satisfying 'wave' of decay that moves from the trunk area outward.
| Feature | Vanilla Behavior | Rapid Leaf Decay Behavior |
|---|---|---|
| Decay Start | Random (can take minutes) | Near-instant (configurable) |
| Decay Speed | Slow and staggered | Rapid and synchronized |
| Performance | Low (Random Ticks) | Optimized (Scheduled Tasks) |
| Modded Trees | Varies | Full support via Tags |