File Details
One Punch Tree V3.1.0.mcaddon
- R
- Feb 26, 2026
- 14.65 KB
- 2.7K
- 26.0.02+4
File Name
One Punch Tree.mcaddon
Supported Versions
- 26.0.02
- 26.0
- 1.21.132
- 1.21.131
- 1.21.130
v3.1.0 - Per-Player Settings & Modular Refactor (February 2026)
This update introduces fully configurable per-player limits, a reset button, smoother item collection, and a complete code refactor into separate modules.
⚙️ Per-Player Configurable Limits
- 4 new sliders in the settings menu: Max Horizontal Spread (1–16), Max Blocks Up (1–64), Max Blocks Down (0–10), and Max Total Blocks (100–2000).
- Each player saves their own values — changes made by one player don't affect others.
- Settings persist across sessions via dynamic properties.
🔄 Reset to Defaults
- Added a ⚠ Reset to Defaults toggle at the bottom of the settings menu.
- Activating it restores all boolean options and sliders to their original values instantly.
📦 Custom Config Item
- Replaced the vanilla book with a proper custom item (
opt:config). - The item no longer relies on name tags or lore to identify itself — it's now a unique item type that opens the settings menu on use.
- Still given automatically on first spawn and kept on death.
✨ Smoother Item Attraction
- Dropped items are now pulled toward the base of the tree gradually instead of teleporting instantly, resulting in a more natural collection effect.
- A final full-attraction pass runs at the end of the job to ensure no items are left behind.
🛠️ Fixes & Improvements
- Code split into modules:
config.js,utils.js,ui.js,treeBreaker.js,main.js— easier to maintain and extend going forward. - Internal boolean setting logic was clarified and properly documented.

