Vein Miner & Preview

A universal vein miner datapack for Minecraft 1.14–1.21+ that lets you mine entire ore veins and trees by sneaking and breaking. Supports custom blocks, Silk Touch, durability handling, and visual previews in modern versions.

21,33k

Vein Miner & Preview

Vein Miner + Custom Blocks

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

Vein miner for Minecraft 1.14–1.21+. Mine entire ore veins, trees, and supported custom blocks (1.20.2+) by sneaking and breaking a block. Works without mods or client-side installation.

---

Overview

- Works on vanilla clients and servers (global only) - Activation using Sneak + Break - Visual block preview in Minecraft 1.20.2+ - Custom ores, logs, and diggable blocks supported in 1.20.2+

---

Versions

| Pack | Minecraft Versions | Custom Blocks | Preview | |------|-------------------|---------------|---------| | VeinMiner | 1.20.5 – 1.21+ | Yes | Yes | Yes | | VeinMiner-Legacy-1.20.2+ | 1.20.2 – 1.20.4 | Yes | Yes | | VeinMiner-Legacy-1.20.0+ | 1.20.0 – 1.20.1 | No | No | | VeinMiner-Legacy-1.15.x+ | 1.15 – 1.19.4 | No | No | | VeinMiner-Legacy-1.14.x | 1.14.x | No | No |

---

Spoiler

1

Usage

Use the correct tool and sneak while breaking a block to activate vein mining.

---

Custom Blocks (1.20.2+)

```mcfunction /function uvm:add_ore {b:"block_id"} /function uvm:add_log {b:"block_id"} /function uvm:add_dig {b:"block_id"} /function uvm:remove_ore {b:"block_id"}

other custom blocks requires namespace /function uvm:add_ore {n:"modid" , b:"block_id"} ````

---

Settings

```mcfunction /scoreboard players set sneak_mode uvm.config 0 /scoreboard players set system_disabled uvm.config 1 /function uvm:reset_config ```

---

Legacy Info (1.14.x)

Uses the `minecraft.custom:minecraft.sneak_time` statistic to detect sneaking.

---

ADS