Back to mods
Vein Miner project artwork

Modrinth · Minecraft mod

Vein Miner

VeinMiner Mine entire ore veins and trees efficiently, a chain miner

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Vein Miner release should I use?

Updated 16 days ago
Latest stable file 2.0+mod
Game version 1.21.2, 1.21.3, 24w44a
Loader Fabric, Forge, NeoForge

Vein Miner 2.0+mod targets 1.21.2, 1.21.3, 24w44a 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 Vein Miner required on the client, server, or both?

Installation on the client is optional. Installation on the dedicated server is optional.

Client Optional
Dedicated server Optional
Loader for this release Fabric, Forge, NeoForge
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source marks this as usable on both the client and server.

What else does Vein Miner 2.0+mod need?

2.0+mod. Change the file and its required mods may change too.

No extra mods listed for this file

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 Vein Miner without breaking your instance.

Built for Vein Miner 2.0+mod. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 2.0+mod. It targets 1.21.2, 1.21.3, 24w44a with Fabric, Forge, NeoForge; another release may have different loader, side or dependency requirements.

  2. 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.

  3. 03

    Put it on the correct side

    Installation on the client is optional. Installation on the dedicated server is optional.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside 2.0+mod. It opens that exact file at the source.

About this project

What does Vein Miner add?

VeinMiner

Patreon

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

1

2

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: 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.

Project description from Modrinth.

Pick your setup

Vein Miner by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

318 available setups

Showing 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

Vein Miner versions and loaders

10 of 10 releases match

Looking for an older file? The official Modrinth project page is in Resources.