Vein Miner & Preview
ModAGPL-3.0-only

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.

10.4K
Downloads
5
Followers
3 months ago
Updated
📦
10
Versions

📖About Vein Miner & Preview

Vein Miner + Custom Blocks

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

/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

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