About
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
Versions
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). This is a copy of the changelog for the most recent version. For the full version history, go [here](https://github.com/illusivesoulworks/veinmining/blob/1.21.x/CHANGELOG.md). ## [5.0.0-beta.2+1.21] - 2024.07.29 ### Changed - [NeoForge] Update to NeoForge 21.0.143
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). This is a copy of the changelog for the most recent version. For the full version history, go [here](https://github.com/illusivesoulworks/veinmining/blob/1.21.x/CHANGELOG.md). ## [5.0.0-beta+1.21] - 2024.07.02 ### Added - Added datapack method for specifying block groups - Added `enableEnchantmentWarnings`, `enableEnchantmentTooltips`, and `enableEnchantmentNotifications` configuration fields to `veinmining-client.toml` to better guide users about potential usage and errors ### Changed - Updated to Minecraft 1.21 - Migrated the enchantment configuration from `veinmining-common.toml` to a datapack file `veinmining:enchantment/vein_mining.json` - Expanded configuration comments for activation state fields ### Removed - Removed `veinmining-common.toml` and its associated configuration values

