⛏️ VEIN MINER [ YS ] — Mine One Ore, Get The Whole Vein
by YS Studio | v1.0 | Minecraft Bedrock 1.21.60+
Vein Miner [ YS ] ends the boring part of mining. Hold sneak, break a single ore with your pickaxe, and the whole connected vein is mined for you, one block after another. It plays fair with your gear: Fortune, Silk Touch and Unbreaking all work, and your pickaxe is protected from breaking.
This is a lightweight addon built for Bedrock Edition, designed around one idea: mining should be fast, smooth and fair.
💎 WHAT'S INSIDE
⛏️ One Break, Whole Vein
Hold sneak and mine an ore with any pickaxe. Every connected ore of the same type, including diagonal neighbours, is removed in quick steps so it looks like you are really digging. Normal mining without sneaking works exactly as before.
🍀 Fortune & Silk Touch
Every block in the vein gets its own drops. Fortune gives extra drops, and Silk Touch gives you the ore block itself. Normal mining XP is collected for the whole vein, except with Silk Touch.
🛡️ Tool Protection
Each extra ore uses up durability like normal mining, and Unbreaking works as usual. Your pickaxe never breaks on a vein. If it is running low, it only mines as many ores as it can handle, and a message tells you when it is too worn.
📊 Live Counter
When the vein is finished, the action bar shows how many ores you mined and how much durability your pickaxe has left.
🪨 SUPPORTED ORES
Overworld: Coal, Iron, Copper, Gold, Lapis Lazuli, Redstone, Diamond and Emerald
Nether: Nether Quartz, Nether Gold and Ancient Debris
Normal and Deepslate versions of an ore count as the same vein. Ores added by other addons are also mined, but they drop their normal items without Fortune.
⚙️ HOW IT WORKS
1) Sneak + Pickaxe: Hold sneak and mine any ore with a pickaxe, from wooden to Netherite.
2) Safe Limits: Up to 64 ores per vein (adjustable up to 256), and only within 16 blocks of the first ore, so a huge vein can never freeze your game.
3) Smooth Speed: Ores are removed 4 at a time in quick steps, not all at once.
4) Zero Setup: No resource pack and no configuration needed. Add it to a world and start mining.
5) Good To Know: The addon does not work in Creative mode. Fortune drops are calculated by the addon, so the numbers can differ slightly from vanilla.
🎛️ COMMANDS
Cheats must be enabled for these commands.
/scriptevent ys:vein mode <sneak | always | off> — sneak to vein mine (default), vein mine every ore, or turn it off
/scriptevent ys:vein max <1 - 256> — the most ores mined per vein
/scriptevent ys:vein status — shows the current settings
/scriptevent ys:vein help — shows all commands
📦 COMPATIBILITY
✔ Minecraft Bedrock 1.21.60+
✔ Works in Survival Worlds
✔ Multiplayer Friendly
✔ No Resource Pack Required
✔ Lightweight & Optimized
✔ Cheats needed only for commands
🌍 FUTURE UPDATES
Vein Miner [ YS ] is an evolving project. Future updates are planned to add more block types, per-player settings and more options.
📜 CREDITS
Created & Developed by: YS Studio
Made by YS Studio · Vein Miner [ YS ] v1.0 · Bedrock Edition