MINECRAFTHUB.IO
Data Packs

VeinMiner

VeinMiner is a Minecraft data pack that breaks a whole connected vein of the same block when you mine one block of it, so a single swing clears an entire ore deposit or tree. It runs from a world's datapacks folder on Java Edition, single-player or server.

By Miraculixx via Modrinth.

VeinMiner data pack breaking a full connected vein of ore from a single block in Minecraft
Section
Data Packs
Platform
Java
Checked
Updated
Versions
1.17.1, 1.18.2, 1.19.2, 1.20.1, 1.21, 1.21.4, 1.21.8, 1.21.11, 26.2
1/2
VeinMiner block group settings treating several block types as one vein while mining in Minecraft

VeinMiner is a Minecraft data pack that breaks an entire connected vein of the same block when you mine a single block of it, turning slow strip mining into one quick action. Break one block of an ore cluster or a tree and the whole connected group comes down together. It works on Java Edition worlds and servers from Minecraft 1.17 through the current 26.2 release, loads straight from the world's datapacks folder, and needs no client-side mod.

Several different projects share the VeinMiner name. This page covers the data pack, mod, and plugin builds made by Miraculixx (Modrinth project OhduvhIc, source on GitHub at MiraculixxT/Veinminer). It is not the unrelated Modrinth mod that also calls itself VeinMiner, and it is not the Bedrock addon of the same name on CurseForge. Java and Bedrock are different, incompatible versions of Minecraft, so a Bedrock player needs that separate addon, not this data pack.

How to install VeinMiner

  1. 1.Download the latest VeinMiner data pack zip from the Modrinth project page.
  2. 2.Open your world save folder and go into the datapacks directory, creating it if it is not there yet.
  3. 3.Copy the zip into datapacks without unzipping it.
  4. 4.Load the world, or run /reload if you are already in-game.
  5. 5.Mine a block that is part of an ore or wood vein to confirm the pack is active.

On a dedicated server, drop the same zip into world/datapacks on the server files and reload. VeinMiner also ships as a mod for Fabric, NeoForge, and Quilt, and as a plugin for Paper, Purpur, and Folia, all kept current on the same project page. Older Forge and Bukkit/Spigot builds exist too, but both stopped receiving updates years ago (Forge at Minecraft 1.20.4, Bukkit and Spigot at 1.20.2), so treat them as legacy options only.

What changes when you mine

  • Breaking one block of a vein removes the connected blocks of the same type in a single action.
  • Works on ore clusters, trees, and other groups of matching blocks.
  • Block groups let you treat several different block types as one vein so mixed deposits break together.
  • The behavior runs server-side, so it plays the same in single-player and on a multiplayer world.

Block groups and configuration

VeinMiner uses block groups to decide which blocks count as part of the same vein. By default it links matching blocks such as a run of the same ore, and you can define groups so that related but different blocks, like a set of stone variants or several log types, break as one cluster. That makes it useful beyond plain ore mining, from clearing tree canopies to harvesting large builds of a single material. Players who want that behavior to feel earned rather than automatic can add VeinMiner Enchantment, a companion add-on from the same creator that gates whole-vein mining behind a craftable enchantment instead of granting it the moment VeinMiner is installed.

Multiplayer and server use

Known limitations

  • Only blocks that share a group are mined together, so unrelated blocks touching a vein are left alone.
  • Clearing very large veins in one break can drop a lot of items at once, so keep storage handy.
  • The data pack, Fabric, NeoForge, Quilt, Paper, Purpur, and Folia builds reach the current Minecraft 26.2 release, but the Forge build stopped at 1.20.4 and the Bukkit and Spigot builds stopped at 1.20.2, so check the exact version list before relying on those older builds.

Questions about VeinMiner.

7 questions

How do I install VeinMiner?

Download the VeinMiner data pack zip from its Modrinth page, then copy the zip (do not unzip it) into your world's datapacks folder. Load the world or run /reload, then mine a block in an ore or wood vein to confirm it is working. On a server, place the zip in world/datapacks instead.

Is VeinMiner a resource pack?

No. VeinMiner is a data pack, which changes game rules and block-breaking behavior, not a resource pack, which only changes textures, sounds, or models. It runs from the world's datapacks folder and needs no visual resource pack or client-side mod to work. Separate mod and plugin builds exist if you want a loader-based or plugin-only install instead.

Does VeinMiner work on multiplayer servers?

Yes. VeinMiner runs server-side, so installing the data pack once in the server world's datapacks folder gives every player vein mining. It also has plugin builds for Paper, Purpur, and Folia that stay current, plus an older Bukkit and Spigot build that stopped receiving updates years ago.

Which Minecraft versions does VeinMiner support?

The data pack, Fabric, NeoForge, Quilt, Paper, Purpur, and Folia builds all reach Minecraft 26.2, the current release. The separate Forge build stopped updating at 1.20.4, and the Bukkit and Spigot plugin builds stopped at 1.20.2, so check the exact build list on the project page before installing on those older platforms.

Can VeinMiner mine trees and other blocks, not just ores?

Yes. VeinMiner groups connected blocks of the same type, so it clears tree trunks and other clusters as well as ore veins. Block groups let you define which block types should break together, so you can extend it to mixed deposits and large single-material builds.

Is this the same VeinMiner as the Bedrock addon or the other Modrinth mod?

No. This page covers the Java Edition data pack, mod, and plugin project by Miraculixx (Modrinth project OhduvhIc). A separate, unrelated mod on Modrinth also uses the VeinMiner name, and a different vein-mining add-on exists for Bedrock Edition on CurseForge. Java and Bedrock never run each other's files, and none of these three projects share code or a creator.

Is 'Vein Miner' the same as VeinMiner?

Yes. VeinMiner is the one-word name Miraculixx uses for the project on Modrinth. Players often search for it as two words, vein miner, but both point to the same data pack, mod, and plugin family covered on this page. The two-word spelling is not a separate project or a different version.

More like VeinMiner.

Guides for Data Packs.

Browse all Minecraft data packs