
Modrinth · Minecraft mod
VeinMiner
VeinMiner Mine entire ore veins and trees efficiently, a chain miner
Quick answer
Which VeinMiner release matches 26.2-snapshot-2 Forge?
VeinMiner 26.1+mod targets 26.1.1, 26.1.2, 26.2-snapshot-2 with Fabric, Forge, NeoForge. Installation on the client is optional. Installation on the dedicated server is optional. No extra mods listed for this file.
Where it goes
Is VeinMiner required on the client, server, or both?
Installation on the client is optional. Installation on the dedicated server is optional.
The source marks this as usable on both the client and server.
What else does VeinMiner 26.1+mod need?
26.1+mod on 26.2-snapshot-2 Forge. Every mod below is checked against that same setup.
This file does not list any required mods. Do not add a library just because a different file uses it.
This file does not list any required or optional mods.
Before you install it
Add VeinMiner without breaking your instance.
Built for VeinMiner 26.1+mod on 26.2-snapshot-2 Forge. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use 26.1+mod. It targets 26.1.1, 26.1.2, 26.2-snapshot-2 with Fabric, Forge, NeoForge; another release may have different loader, side or dependency requirements.
- 02
Bring the mods it needs
This file does not list any required mods. Do not add a library just because a different file uses it.
- 03
Put it on the correct side
Installation on the client is optional. Installation on the dedicated server is optional.
- 04
Pick the file you checked
Use the “Get this file” button beside 26.1+mod. It opens that exact file at the source.
About this project
What does VeinMiner add?
VeinMiner
When vein mining, both trees and ores can be targeted however, ores require a pickaxe for the process, while trees can be mined without any specific tools.
crouch and break to activate veinmine


Player settings
No operator permission is needed:
/trigger vm.durability set 1— enable one durability cost for every extra ore or log./trigger vm.durability set 0— disable extra durability cost (default).
Add blocks permanently
These commands require operator permission. /reload, and are protected against duplicates.
Vanilla blocks
/function vm:add_ore {b:"ancient_debris"}
/function vm:add_tree {b:"bamboo_block"}
/function vm:add_tree_with_leaves {b:"oak_log",l:"oak_leaves"}
add_ore uses six-direction connected mining. add_tree uses 26-direction tree traversal without leaf removal. add_tree_with_leaves also removes the named connected leaf type.
Remove a custom vanilla registration:
/function vm:remove_ore {b:"ancient_debris"}
/function vm:remove_tree {b:"bamboo_block"}
Modded blocks
/function vm:add_mod_ore {m:"create",b:"zinc_ore"}
/function vm:add_mod_tree {m:"examplemod",b:"rubber_log",l:"rubber_leaves"}
Remove them with:
/function vm:remove_mod_ore {m:"create",b:"zinc_ore"}
/function vm:remove_mod_tree {m:"examplemod",b:"rubber_log"}
The mod must be installed on the server before its block is registered.
For a tree whose log and leaves use different namespaces, use the advanced API:
/function vm:register/tree {namespace:"logmod",id:"rubber_log",leaf_namespace:"leafmod",leaf_id:"rubber_leaves"}
List saved custom registrations:
/function vm:list_custom_blocks
Admin configuration
/scoreboard players set sneak_mode vm.config 1
/scoreboard players set system_disabled vm.config 0
/scoreboard players set max_blocks vm.config 1024
/scoreboard players set default_cooldown vm.cooldown 10
sneak_mode:1requires sneaking;0does not.system_disabled:1disables VeinMiner globally;0enables it.max_blocks: hard safety limit for one operation, including leaves.default_cooldown: cooldown in ticks after an operation.
/function vm:reset_config restores the vanilla block lists and reapplies all saved custom registrations.
Project description from Modrinth.
Pick your setup
VeinMiner by Minecraft version and loader
Choose the version and loader you play, then open the matching release.
26.2-snapshot-7
5 loader builds26.2-snapshot-6
5 loader builds26.2-snapshot-5
5 loader builds26.2-snapshot-4
5 loader builds26.2-snapshot-3
5 loader builds26.2-snapshot-2
5 loader builds26.2-snapshot-1
1 loader build26.2-rc-2
5 loader builds26.2-rc-1
5 loader builds26.2-pre-6
5 loader builds26.2-pre-5
5 loader buildsShowing the newest 12 of 66 game versions. Older files are in the list below.
Check the dependencies, then try the file in a copied instance before changing a world you care about.
Recent files
VeinMiner versions and loaders
26.1+mod
vein_miner-26.1.jar
21 Jun 2026
Looking for an older file? The official Modrinth project page is in Resources.