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




About this Mod
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

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.
Available Versions
How to Install Vein Miner & Preview on Your Server
Order Server
Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).
Set datapack Loader
In the panel under "Egg", select the datapack loader and matching Minecraft version (1.21.11).
Install Mod
Open the mod browser in the dashboard and search for "Vein Miner & Preview". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
1.21.11, 1.21.10, 1.21.9 (+40 more)
Server-side
✓ RequiredRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
Vein Miner & Preview server crashes on startup – what to do?
Most common cause: wrong datapack version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.21.11). You can switch loaders with one click in the panel.
Is Vein Miner & Preview compatible with datapack and fabric and forge and neoforge and quilt?
Vein Miner & Preview officially supports datapack, fabric, forge, neoforge, quilt for Minecraft 1.21.11, 1.21.10, 1.21.9. Note: Forge and Fabric mods are NOT cross-compatible – pick one loader and stick with it. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with Vein Miner & Preview – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Vein Miner & Preview consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.
Rent Modded Server
Install Vein Miner & Preview with just one click on your server.