File Details
Simple Vein Miner V2.0.0.mcaddon
- R
- Feb 26, 2026
- 42.45 KB
- 2.0K
- 26.0.02+4
File Name
Simple Vein Miner.mcaddon
Supported Versions
- 26.0.02
- 26.0
- 1.21.132
- 1.21.131
- 1.21.130
v2.0.0 - Full Rewrite & Bug Fixes (February 2026)
This update is a complete rewrite following the One Punch Tree architecture. It introduces per-player configurable limits, a reset button, a proper custom config item, and fixes several bugs including the magnet toggle, redstone ore detection, and storage blocks incorrectly triggering the vein miner.
⚙️ Per-Player Configurable Limits
- 4 new sliders in the settings menu: Max Horizontal Spread (1–16), Max Blocks Up (1–32), Max Blocks Down (0–32), and Max Total Blocks (8–512).
- 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, for that player only.
📦 Custom Config Item
- Replaced the vanilla book with a proper custom item (
svm:config). - The item no longer relies on name tags or lore to identify itself — it's now a unique item type registered in
items/config.jsonthat 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 vein center 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
- Magnet toggle had no effect: items and XP were always spawned at the drop center regardless of the setting. Drops now spawn at each block's real position when the magnet is disabled.
- Redstone ore not detected as a vein: touching a
redstone_oreconverts it tolit_redstone_orebefore the break event fires. Both variants are now normalized to the same ID so the vein propagates correctly. - Storage blocks triggered the vein miner:
isOre()was matching on substrings likediamond_blockandgold_block. Detection is now limited to actual ores only. - Efficiency enchantment benefit removed: efficiency was incorrectly reducing tool damage by 50% per block. Durability now only respects Unbreaking, matching vanilla behavior.
- Removed global
gamerule showtags falsethat was being applied server-wide on every player spawn. - Code split into modules:
config.js,utils.js,ui.js,veinBreaker.js,main.js— following the same architecture as One Punch Tree for easier maintenance and future extensions.

