Back to mods
Vein Miner project artwork

Modrinth · Minecraft mod

Vein Miner

Viper Vein Miner is a lightweight, Server-Side vein-mining mod. Break one ore or log and mine its connected vein in a single action

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

Quick answer

Which Vein Miner release should I use?

Updated 3 days ago
Latest stable file 1.0.3
Game version 26.2
Loader Fabric

Vein Miner 1.0.3 targets 26.2 with Fabric. Do not install it on the client. It must be installed on the dedicated server. All 1 required mods have matching files.

Where it goes

Is Vein Miner required on the client, server, or both?

Do not install it on the client. It must be installed on the dedicated server.

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

This file is marked server-only.

What else does Vein Miner 1.0.3 need?

1.0.3. Change the file and its required mods may change too.

All 1 required mods have matching files

Install Fabric API first. We found matching files for this game-version and loader setup.

Fabric API Needed by Vein Miner 1.0.3
required
Matching file found Matched file: 0.160.0+26.2

We only count dependency files that match this setup. A file for another loader does not fill the gap.

Before you install it

Add Vein Miner without breaking your instance.

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

  1. 01

    Stick to this file

    Use 1.0.3. It targets 26.2 with Fabric; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    Install Fabric API first. We found matching files for this game-version and loader setup.

  3. 03

    Put it on the correct side

    Do not install it on the client. It must be installed on the dedicated server.

  4. 04

    Pick the file you checked

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

About this project

What does Vein Miner add?

Viper Vein Miner

Viper Vein Miner is a lightweight, Client-Side + Server-Side vein-mining mod for Minecraft 1.21.x, 26.1.x, and 26.2.x. By default, it mines ores and trees only while leaving every other block untouched. Ore veins include diagonally connected blocks whose faces do not touch.

Supported Versions

Version Java Status
1.21.x 21 Full support
26.1.x 25 Full support
26.2.x 25 Full support

Purpose & Function

The goal of Viper Vein Miner is to make mining ores and chopping trees faster without unexpectedly breaking ordinary blocks. Ores connect through all 26 neighboring positions, while logs use direct face-to-face connections.

  • Safe Default Selection: Ores and logs are enabled out of the box; all other blocks are disabled.
  • Diagonal Ore Detection: Ore blocks can connect through faces, edges, or corners. They do not need to share a face.
  • Tree Mining: Chop directly connected logs without breaking every block individually.
  • Optional All-Blocks Mode: Enable any matching block type as a vein when you want broader behavior.
  • Vanilla-Style Tool Use: The held tool takes durability damage for each mined block.
  • Durability Protection: Mining stops before the held tool would break.
  • Configurable Vein Limit: Control how many blocks can be mined at once; the default is 64.
  • Live Preview: Connected blocks are highlighted before mining so you can see what will be affected.
  • Server-Authoritative Mining: Block breaking is handled on the server for synchronized multiplayer behavior.

Key Features

Feature Description
Ores & Trees Only Ores and logs are enabled by default; ordinary blocks are not
26-Position Ore Search Finds face-, edge-, and corner-connected ores, including diagonals
Tree Miner Mines face-connected logs of the same block type
3 Activation Modes Choose CROUCH, KEYBIND, or ALWAYS
Custom Keybind Hold V by default when using KEYBIND mode
Vein Preview Displays a translucent yellow highlight over affected blocks
Tool Protection Stops mining before the tool reaches its breaking point
Vein Size Limit Configurable maximum with a default of 64 blocks
All-Blocks Mode Optionally allow connected blocks of any type to act as veins
Multiplayer Support Server-side mining with client-side preview and keybind support
Lightweight Requires only Fabric Loader and Fabric API

Enhance your server setup! Check out my other server-side mods over at : Fabric Server Essentials


How to Use

  1. Install Fabric Loader, Fabric API, and Viper Vein Miner.
  2. Install the mod on the server when playing multiplayer; install it on the client for highlighting and keybind support.
  3. Crouch and break an ore or log using the default configuration.
  4. Watch the connected vein break until the configured limit is reached or the tool is nearly broken.

The default activation mode is CROUCH. To use the keybind instead, set activationMode to KEYBIND, then hold V while mining.


Configuration

The configuration file is generated automatically at:

config/viper_vein_miner_config.json

Default configuration:

{
  "enableTreeMiner": true,
  "enableOreMiner": true,
  "allBlocksAreVeins": false,
  "maxVeinSize": 64,
  "activationMode": "CROUCH",
  "renderHighlight": true,
  "highlightAlpha": 0.4
}
Option Description Default
enableTreeMiner Enables face-connected log mining true
enableOreMiner Enables face-, edge-, and corner-connected ore mining true
allBlocksAreVeins Allows any connected matching blocks to be vein-mined false
maxVeinSize Maximum blocks mined in one operation 64
activationMode Activation method: CROUCH, KEYBIND, or ALWAYS CROUCH
renderHighlight Shows the affected-block preview true
highlightAlpha Preview opacity from 0.0 to 1.0 0.4

Restart the game or server after editing the configuration file.

Existing configuration files keep their saved values. For the intended ores-and-trees-only behavior, use enableTreeMiner: true, enableOreMiner: true, and allBlocksAreVeins: false.


Installation

Requirement Needed
Fabric Loader Yes
Fabric API Yes
Client Installation Required for singleplayer, preview, and keybind mode
Server Installation Required for multiplayer vein mining
Mod Menu Not required

Use the JAR matching your Minecraft version and place it in the mods folder.


Built for miners who want less repetitive block breaking without losing control. See the vein, protect your tool, and mine it in one strike.

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.

16 available setups

Showing the newest 12 of 16 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

12 of 12 releases match

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