File Details
One Punch Tree - V3.2.0.mcaddon
- R
- Mar 13, 2026
- 15.32 KB
- 3.9K
- 26.3+5
File Name
One Punch Tree.mcaddon
Supported Versions
- 26.3
- 26.0.02
- 26.0
- 1.21.132
- 1.21.131
- 1.21.130
v3.2.0 - Breaking Modes & Animation Overhaul (March 2026)
This update adds four breaking modes with real tick-accurate animations, a consolidated single-screen settings UI, and internal code improvements.
🪓 Breaking Modes
- Four modes added: Instant, Chopping, Layer, and Falling Tree — selectable via a dropdown in the settings menu.
- Instant: All blocks break as fast as possible. No visual delay.
- Chopping: Blocks break one by one bottom to top with a configurable tick delay per block.
- Layer: Breaks floor by floor bottom to top, with an extra pause between each Y level.
- Falling Tree: Leaves break first (top to bottom), then logs collapse top to bottom — simulating a tree falling.
⏱️ Real Tick-Accurate Animation
- Animated modes now use
system.runTimeout()with an accumulated delay counter instead ofyield, ensuring real per-block timing regardless of server load. - Instant mode retains the
system.runJob()generator path for maximum throughput. - Added Animation Speed slider (1–20 ticks/block) to control all animated modes.
🖥️ Simplified Settings UI
- Mode is now selected via a dropdown at the top of the menu — no submenus required.
- Reset to Defaults now also resets the selected mode back to Instant.
🛠️ Internal Improvements
- BFS dequeue optimized: Replaced
Array.shift()(O(n)) with an index pointerhead++(O(1)) — meaningful speedup on large trees. - Durability application extracted to a standalone
applyDurability()function called once at the end of the job, preventing double-application edge cases. - Falling Tree always collects leaves during BFS regardless of the Break Leaves toggle, as it needs them for the top-down leaf phase.

