OreVein is a Fabric mod that lets you mine entire ore veins and chop down whole trees at once. Just sneak and break a block to automatically mine all connected blocks of the same type.
Beta for Minecraft 26.1-snapshot-2 is now live and ready for testing with fancy menu and new modes Also its not very fancy since im still very new to modding. Thank you for understanding.
OreVein is a Fabric mod that lets you mine entire ore veins and chop down whole trees at once. Just sneak and break a block to automatically mine all connected blocks of the same type. There's also an XP system that unlocks tunnel mining modes once you reach 500 XP.
Hold shift and break a block to mine the entire vein. Works on:
The mod tries to find all connected blocks of the same type. For ores and logs it checks diagonals too. For leaves, it only checks directly touching blocks so you don't accidentally mine half a forest.
Important: If you release shift (stop sneaking) while vein mining is in progress, it will cancel the remaining blocks. This lets you stop large vein mining operations if you change your mind.
Hold Left Alt or Right Alt to open the circular menu. Toggle options:
Release ALT to close the menu. Click options to toggle them.
Some blocks need better tools to vein mine:
If your tool is too weak you'll get a message telling you what you need.
Tunnel modes unlock at different XP levels based on their power:
| Mode | XP Required | Blocks Mined | Description |
|---|---|---|---|
| 1x2 | 500 XP | 2 blocks | Mines block + one below |
| 3x3 | 2,000 XP | 9 blocks | Mines 3x3 area based on facing |
| 5x5 | 5,000 XP | 25 blocks | Mines 5x5 area - very powerful! |
Why the high XP requirements? The larger tunnel modes are extremely powerful. Mining 25 blocks per swing with 5x5 mode would trivialize the game if unlocked too early. The tiered XP system ensures these are late-game rewards that feel earned.
Use the radial menu (ALT key) to toggle between modes.
You get 1 XP for each block you mine with a pickaxe (only pickaxes count for XP). Different tunnel modes unlock at different XP thresholds:
If you die, you lose all your XP and tunnel mode gets disabled. This adds risk to exploration!
Use /miningxp to check your current XP.
By default, items drop where you mine them just like vanilla Minecraft. Use the radial menu to toggle auto-collect if you want items to go straight to your inventory.
The mod respects vanilla Minecraft enchantments:
The mod uses vanilla Minecraft's mining calculations so everything should feel natural. Fortune works, Silk Touch works, tool durability is consumed properly, and Unbreaking extends your tools like normal.
When you vein mine, each block breaks with a slight delay based on how fast you can actually mine that block. So mining stone with an iron pickaxe is faster than mining obsidian. Efficiency enchantments make vein mining faster too.
The vein mining algorithm treats water and lava as boundaries. This means:
You need the right tool to vein-mine certain blocks:
Minimum tool tiers:
If your tool isn't good enough, you'll get a message and vein mining won't work on that block.
The mod saves settings to config/orevein.json. You can edit this file directly or use in-game commands.
maxVeinSizeOres - Maximum blocks per vein for ores (default: 64)maxVeinSizeLogs - Maximum blocks per vein for logs (default: 128)tunnelUnlockXP - XP required to unlock tunnel modes (default: 500)enable1x2Tunnel, enable3x3Tunnel, enable5x5Tunnel - Enable/disable tunnel modesYou can customize which blocks can be vein-mined:
minecraft:glowstone)c:ores, minecraft:logs)The mod comes with these tags enabled by default:
minecraft:coal_ores, minecraft:iron_ores, minecraft:gold_oresminecraft:diamond_ores, minecraft:emerald_ores, minecraft:copper_oresminecraft:lapis_ores, minecraft:redstone_oresminecraft:logs, minecraft:leavesc:ores (Fabric convention tag for mod compatibility)To add support for modded ores, use commands like:
/orevein tag add "create:ores"
/orevein whitelist add "mekanism:tin_ore"
/miningxp - Check your current XP and active tunnel mode/orevein check - Check if the block you're looking at can be vein-mined/orevein add - Add the block you're looking at to the whitelist/orevein remove - Blacklist the block you're looking at/orevein list - Show all whitelists and blacklists/orevein help - Show all available commands/orevein whitelist add <block> - Add a block by ID (e.g., minecraft:glowstone)/orevein whitelist remove <block> - Remove a block from whitelist/orevein blacklist add <block> - Add a block to blacklist/orevein blacklist remove <block> - Remove a block from blacklist/orevein tag add <tag> - Add a tag to whitelist (e.g., c:ores/copper)/orevein tag remove <tag> - Remove a tag from whitelist/orevein tag block <tag> - Add a tag to blacklist/orevein setxp <amount> - Set your XP (for testing)/orevein reload - Reload config from fileIf something breaks or doesn't work right, let me know. Include your Minecraft version, mod version, and what other mods you're running if possible.
Created by NoZeroG
The radial menu design was inspired by owo-lib's UI components, simplified and adapted for this mod's needs.
All Rights Reserved - You can use this mod and include it in modpacks (with credit), but no modifications or reuploads without permission. See LICENSE file for details.
Conversation