Vein Miner
🟡 Updated this year🖼️ Gallery (2 images)
🔍 Analysis
- 👍 0.0% endorsement rate
- 🏆 #201 of 1805 datapack mods in this game by downloads
📋 About This Mod
# **VeinMiner** <p align="center"> <a href="https://www.patreon.com/cw/quillphen" target="_blank"> <img src="https://cdn.modrinth.com/data/cached_images/49b1e899a9f41e7eeeb877bc53e8d5838998a95b_0.webp" alt="Patreon"> </a> </p> 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 !(https://cdn.modrinth.com/data/kjLZThtk/images/c2cae60f458974211eeabbb1ecb6ebfb156c0166.gif) !(https://cdn.modrinth.com/data/kjLZThtk/images/e6c92331e1b210287de4ff4865d1f8fa15d0debd.gif) ## 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 ```mcfunction /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: ```mcfunction /function vm:remove_ore {b:"ancient_debris"} /function vm:remove_tree {b:"bamboo_block"} ``` ### Modded blocks ```mcfunction /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: ```mcfunction /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: ```mcfunction /function vm:register/tree {namespace:"logmod",id:"rubber_log",leaf_namespace:"leafmod",leaf_id:"rubber_leaves"} ``` List saved custom registrations: ```mcfunction /function vm:list_custom_blocks ``` ## Admin configuration ```mcfunction /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`: `1` requires sneaking; `0` does not. - `system_disabled`: `1` disables VeinMiner globally; `0` enables 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.
# 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
!(https://cdn.modrinth.com/data/kjLZThtk/images/c2cae60f458974211eeabbb1ecb6ebfb156c0166.gif)
!(https://cdn.modrinth.com/data/kjLZThtk/images/e6c92331e1b210287de4ff4865d1f8fa15d0debd.gif)
## 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
```mcfunction /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:
```mcfunction /function vm:remove_ore {b:"ancient_debris"} /function vm:remove_tree {b:"bamboo_block"} ```
### Modded blocks
```mcfunction /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:
```mcfunction /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:
```mcfunction /function vm:register/tree {namespace:"logmod",id:"rubber_log",leaf_namespace:"leafmod",leaf_id:"rubber_leaves"} ```
List saved custom registrations:
```mcfunction /function vm:list_custom_blocks ```
## Admin configuration
```mcfunction /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`: `1` requires sneaking; `0` does not.
- `system_disabled`: `1` disables VeinMiner globally; `0` enables 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.
📊 Mod Details
- Game
- Minecraft Data Packs
- Author
- quillphen
- Version
- 2.0
- Downloads
- 177,187
- Endorsements
- 52
- Category
- datapack
- Created
- 11/7/2025
- Updated
- 8/11/2026
- Game Versions
- 1.21.2, 1.21.3, 24w44a, 24w45a, 24w46a
- Tags
- game-mechanics, technology, utility
🔧 How to Install Minecraft Data Packs Mods
Download from Modrinth. Use Prism Launcher or drop into your mods folder.
📖 Full step-by-step install guide for Minecraft Data Packs →
Visit the official mod page for specific installation instructions for this mod.
🎮 Need cheat codes or console commands? Check ur gaming wiki for Minecraft Data Packs commands, item IDs, and more.
❓ Frequently Asked Questions
Which Minecraft Data Packs versions does Vein Miner support?
The author lists 1.21.2, 1.21.3, 24w44a, 24w45a, 24w46a, 1.21.4. Other versions may work but are untested by the author.
What is the latest version of Vein Miner?
Version 2.0, published 2026-08-11 with 177,187 downloads recorded at the source.
Keep browsing — more Minecraft Data Packs mods await

