Veinminer
Welcome to the world of efficient resource mining! Veinminer is a revolutionary modification that fundamentally changes the approach to mining resources in Minecraft.
🎯 Core Concept
Imagine: you mine just one ore block, and automatically the entire vein of identical connected blocks is destroyed! This feature has long become popular in various modpacks and PvP modes like UHC, where resource collection speed is crucial.
🔧 Additional Features
Hotkeys and Preview Add a special addon for hotkey functionality - then veins will only be mined when pressing a specific key combination, and a preview function of the mining area will also appear.
Enchantment System Want to limit vein mining to only enchanted tools? Install the enchantment system addon for more balanced gameplay!
📊 Two Versions - For Every Taste
Version 1.x (DataPack)
- Simple and universal
- Works on any server and in any world
- Minimal settings
Version 2.x (Fabric/Paper)
- Full customization
- Extended settings
- Only for Fabric/Quilt or Paper/PurPur servers

⚙️ DataPack Version Settings
| Command | Permissions | Description |
|---|---|---|
/function veinminer:settings/pickaxe |
OP/Cheats |
Limit or grant the effect for certain pickaxes |
/function veinminer:settings/general |
OP/Cheats |
Change general settings to balance the effect |
🛠️ Fabric/Paper Version Settings
| Command | Permissions | Short Description |
|---|---|---|
/veinminer blocks |
veinminer.blocks |
Edit blocks that are veinmineable |
/veinminer toggle |
veinminer.toggle |
Completely toggle Veinminer |
/veinminer settings |
veinminer.settings |
Change settings: cooldown, max chain and more |
| Using Veinminer | veinminer.use |
Needed for vein mining when permission restrictions are active |
⚙️ General Settings
To change a setting, use the command /veinminer settings ... <new-value>. To check the current state, omit the new value argument.
| Setting | Description | Default |
|---|---|---|
mustSneak |
Players must sneak to veinmine | false |
cooldown |
Time between vein mining opportunities (in ticks) | 20 |
delay |
Time between each automated block breaking (in ticks) | 1 |
maxChain |
Maximum number of blocks that can break from one source block | 100 |
needCorrectTool |
If blocks require a specific tool, it must be used | true |
searchRadius |
Number of blocks between blocks to count as connected | 1 |
permissionRestricted |
Only players with veinminer.use permission can veinmine |
false |
mergeItemDrops |
All item drops are merged at the source block | false |
autoUpdate |
Check for updates and download new version if available | false |
durabilityDecrease |
Whether each mined block should reduce tool durability | true |
🎯 Block Groups - Advanced Settings
Block groups can contain multiple blocks together that will be treated as the same block.
Creating a group:
/veinminer group create <name> [<block1>] [<block2>]
All blocks inside one group will be mined together. A block can be in multiple groups. New blocks can be added or removed from groups using commands:
/veinminer group edit <name> add-block <block>
/veinminer group edit <name> remove-block <block>
Groups can be limited to certain tools. If no tool is added to a group, all tools are allowed.
/veinminer group edit <name> add-tool <item>
/veinminer group edit <name> remove-tool <item>
You can also directly edit the group file in .../veinminer/default_groups.json.
Example groups from @DereC4:
Ores and Logs
[
{
"name": "Ores",
"blocks": [
"minecraft:coal_ore", "minecraft:deepslate_coal_ore",
"minecraft:iron_ore", "minecraft:deepslate_iron_ore",
"minecraft:copper_ore", "minecraft:deepslate_copper_ore",
"minecraft:gold_ore", "minecraft:deepslate_gold_ore",
"minecraft:redstone_ore", "minecraft:deepslate_redstone_ore",
"minecraft:emerald_ore", "minecraft:deepslate_emerald_ore",
"minecraft:lapis_ore", "minecraft:deepslate_lapis_ore",
"minecraft:diamond_ore", "minecraft:deepslate_diamond_ore",
"minecraft:nether_gold_ore", "minecraft:nether_quartz_ore"
],
"tools": [
"minecraft:diamond_pickaxe", "minecraft:golden_pickaxe",
"minecraft:iron_pickaxe", "minecraft:netherite_pickaxe",
"minecraft:stone_pickaxe", "minecraft:wooden_pickaxe"
]
},
{
"name": "Logs",
"blocks": [
"minecraft:acacia_log", "minecraft:oak_log",
"minecraft:mangrove_log", "minecraft:birch_log",
"minecraft:jungle_log", "minecraft:spruce_log",
"minecraft:dark_oak_log", "minecraft:pale_oak_log",
"minecraft:cherry_log", "minecraft:crimson_stem",
"minecraft:warped_stem"
],
"tools": [
"minecraft:diamond_axe", "minecraft:golden_axe",
"minecraft:iron_axe", "minecraft:wooden_axe",
"minecraft:stone_axe", "minecraft:netherite_axe"
]
}
]
💡 Important Notes
- Players with operator rights automatically have all permissions
- For Folia support, you need to set delay to 0!
- Your pickaxe must be able to mine the ore under normal conditions (unless disabled in version 2)
- Although Veinminer runs very efficiently, mining unnaturally large veins can cause client and server lag due to the large number of items