

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 1.21.x releases, loads straight from the world's datapacks folder, and needs no client-side mod.
How to install VeinMiner
- 1.Download the latest VeinMiner data pack zip from the Modrinth project page.
- 2.Open your world save folder and go into the datapacks directory, creating it if it is not there yet.
- 3.Copy the zip into datapacks without unzipping it.
- 4.Load the world, or run /reload if you are already in-game.
- 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 plugin build for Bukkit, Spigot, Paper, Purpur, and Folia, and as a mod for Fabric, Forge, NeoForge, and Quilt, so you can pick the format that matches your setup from the same project page.
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.
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.
- Version support tracks the Modrinth releases; check the project page for the build that matches your exact Minecraft version.
Questions about this entry.
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.
Does VeinMiner need a client mod or resource pack?
No. The data pack build runs entirely from the world's datapacks folder and does not require any client-side mod or resource pack. Players joining a server with VeinMiner installed get the effect without changing their own game. Separate plugin and mod builds are available if you prefer those formats.
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 dedicated plugin builds for Paper, Spigot, Purpur, and Folia if you run plugin-based server software.
Which Minecraft versions does VeinMiner support?
The Modrinth releases cover Java Edition from Minecraft 1.17 through the current 1.21.x versions. Because support is tied to specific releases, check the version list on the project page and download the build that matches the exact version your world or server runs.
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.






