
Sneak, mine one ore, and the whole vein comes out.
A lightweight vanilla data pack for Minecraft Java 26.2 and 26.3. It runs on the server only, so players join with an unmodified game. It also comes as a mod (Fabric, Quilt, NeoForge, Forge) and a server plugin (Paper, Purpur, Spigot, Bukkit).


/trigger veinminer.
Works on every vanilla ore: coal, copper, iron, lapis, gold, redstone, diamond, emerald, nether gold, quartz and ancient debris.

Operators open a clickable menu with /function veinminer:settings. It sets the maximum vein size (64 by default), whether sneaking is needed, where drops land, the animation, durability use, diagonal connections and which ores count.

Enchanted Veinminer turns veinmining into a pickaxe enchantment you have to find first. Making your own add-on? See the add-on API.

.zip in your world's datapacks folder and run /reload. Don't unzip it.-fabric.jar (Fabric or Quilt, needs Fabric API) or the -forge.jar (Forge or NeoForge) in mods.-plugin.jar in plugins and restart the server.Use only one of the three. To remove Veinminer cleanly, run /function veinminer:uninstall first.


Veinminer is free. If it saves you some time, a coffee helps fund the next update.
Want your own server to play on with friends? My BisectHosting affiliate link gives you 25% off the first month, and I get a small commission.

© 2026 Profet. All rights reserved.
Full terms: LICENSE.
