
Vein Mining
A lightweight, highly configurable Vein Mining enchantment for tools.
Screenshots

About this Mod
Vein Mining is a mod that adds the titular Vein Mining enchantment, which allows the enchanted tool to break matching connected blocks. The enchantment and mining logic are highly configurable, letting players and modpack developers find their preferred method of balance.
Configuration options can be found in the config folder as veinmining-client.toml, veinmining-server.toml, and veinmining-common.toml.
Please see the wiki page for more configuration information.
Features
Enchantment

Configuration Options
- Rarity
- Max Level
- Treasure
- Randomly Enchantable
- Available on Books
- Base Enchanting Power
- Enchanting Power per Level
- Villager Trade
- Lootable
Vein Mining
Configuration Options
- Max Blocks Base (without enchantment)
- Max Distance Base (without enchantment)
- Max Blocks per Enchantment Level
- Max Distance per Enchantment Level
- Diagonal Mining
- Relocate Drops
- Limit Mining by Tool Durability
- Prevent Tool Breaking
- Tool Damage
- Tool Damage Multiplier
- Player Exhaustion
- Player Exhaustion Multiplier
- Activation Method (sneak, stand, or keybinding)
- Blocks Whitelist/Blacklist
- Custom Block Groups (Tags + IDs)
Affiliates
Available Versions
How to Install Vein Mining on Your Server
Order Server
Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).
Set fabric Loader
In the panel under "Egg", select the fabric loader and matching Minecraft version (1.21).
Install Mod
Open the mod browser in the dashboard and search for "Vein Mining". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
1.21, 1.20.6, 1.20.4 (+13 more)
Server-side
✓ RequiredRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
Vein Mining server crashes on startup – what to do?
Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.21). You can switch loaders with one click in the panel.
Is Vein Mining compatible with fabric and forge and neoforge and quilt?
Vein Mining officially supports fabric, forge, neoforge, quilt for Minecraft 1.21, 1.20.6, 1.20.4. Note: Forge and Fabric mods are NOT cross-compatible – pick one loader and stick with it. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with Vein Mining – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Vein Mining consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.
Similar Mods
Rent Modded Server
Install Vein Mining with just one click on your server.