Mineuniverse
Mods
Vein Miner Enchantment

Vein Miner Enchantment

MOD
A rare, modpack-friendly vein-mining enchantment. Break one ore and the whole same-family vein comes out at once. Server-authoritative, chunk-safe, tag-driven — vanilla, deepslate & modded ores. No dupes, true vanilla drops. NeoForge 1.21.1.
by slate023
Download Claim this project
Add a badge to your pageLink to Vein Miner Enchantment from a README, website or forum post.
Preview: Badge

Badges update automatically and link to the mod page on MineUniverse.

1,105 downloads
0 likes
0 followers
Updated Oct 14, 2026
0 hypes
Follow0
Adventure and RPG Magic
Advertisement Remove ads with Premium →

Vein Miner

A rare, modpack-friendly vein-mining enchantment for Minecraft 1.21.1 (NeoForge).

Break one ore with a pickaxe enchanted with Vein Miner and the entire connected vein of the same ore family comes out in a single, server-authoritative, chunk-safe operation. Built for big multiplayer servers and made to drop straight into a modpack. No client mod required.


✨ Highlights

  • Tag-driven ore detection — works with vanilla, deepslate, Create Zinc and future modded ores via #minecraft:*_ores and #c:ores/<material> tags. No hardcoded block lists.
  • Same-family only — Iron veins into Iron, never into Copper, Stone, Andesite or Zinc.
  • Chunk-safe & lightweight — iterative breadth-first flood fill, primitive long queue, hard caps with early exits, never loads or scans unloaded chunks.
  • True vanilla harvesting — drops, experience, advancements, statistics, Silk Touch, Fortune and modded/global loot modifiers all go through vanilla logic. No manual drops, no dupes.
  • Server-authoritative — all gameplay runs on the server.

⛏️ How to get it

Enchanting table, enchanted books, master librarian trades, and structure loot — Strongholds, Mineshafts, Ancient Cities, Woodland Mansions and Trial Chambers. Rarity is similar to Mending.

Grab it for testing:

/enchant @p veinminer:vein_miner 1

or an enchanted book:

/give @p enchanted_book[stored_enchantments={"veinminer:vein_miner":1}]

⚙️ Configuration

A documented config is generated at config/veinminer-common.toml:

Key Default Meaning
enableVeinMiner true Master switch
requireSneakToActivate true Only veins while sneaking
maxBlocksPerVein 64 Hard cap per vein
scanRadius 8 Max distance from origin
durabilityMultiplier 1.0 Tool damage per ore
allowAncientDebris false Opt-in Ancient Debris veining
villagerTradeChance 0.05 Per-librarian book chance
blockedBlocks / blockedTags [] Never vein-mined

📦 Modpack & datapack support

Register custom ore families in data/<namespace>/ore_families/ with a simple JSON of blocks and tags — definitions take priority over the tag heuristics, so any modded ore set (e.g. Create Zinc) can be grouped into its own family.

🔧 Compatibility

  • Minecraft: 1.21.1
  • Loader: NeoForge 21.1.233+
  • Designed for: Create, Terralith, Ecologics, Environmental, BF Biomes, Dungeons & Taverns, Naturalist, Farmer's Delight.
  • Dedicated-server and multiplayer safe — all gameplay logic runs on the server.

📜 License

MIT. Free to use in any modpack.


Created by slate.

Vein Miner 1.1.0
MC Client, 1.21.1, NeoForge, Server
Release 2026-06-29 Get
Vein Miner Enchantment
MC Client, 1.21.1, NeoForge, Server
Release 2026-06-25 Get

More from slate023

Advertisement Remove ads with Premium →

You Might Also Like