Instant Leaf Decay 1.0.0-1.20.x
Curse Maven Snippet
What's new
⚡ Instant Leaf Decay - Hotfix Release
This version completely addresses the critical crashes and performance freezes reported on singleplayer worlds and under heavy TNT explosion loads:
- 🛡️ TNT Explosion Crash Fixed: Traditional instant leaf decay mods recursively trace and break leaves instantly in a single tick. When tree farms are exploded with TNT, this triggers thousands of recursive block updates, causing severe CPU spikes or
StackOverflowError. This version features a queue-based scheduled decay manager that limits decays to250leaf blocks per tick per world. This completely prevents stack overflow crashes and server watchdog freezes under high-load deforestation while decaying large forests rapidly and smoothly. - 🔌 Singleplayer Load Crash Fixed: Resolved thread-safety and chunk-loading mixin conflicts in subclass methods. The mod now hooks safely into standard leaves tick executors, working perfectly for both server-side multiplayer and local singleplayer worlds.
- 💨 Silent & Instant Decay: Leaf blocks now disappear instantly and silently without spawning block break sound or particles, while still dropping saplings, sticks, and apples naturally.
- ⚡ Lightweight & Server-Side: Standard Fabric gameplay mod that is fully server-side compatible (clients do not need to install it to join).
This mod has no additional files

