ModTorch
VeinMiner Enchantment

VeinMiner Enchantment

Datapack · by Miraculixx · 18.5M downloads · Minecraft 26.3

Download ↓

Earn your vein mining

Plain VeinMiner gives every player the ability to clear an ore vein at once. That is great for casual worlds but can feel too generous on a survival server. This addon changes the rule: vein mining only works with tools that carry the new Veinmine enchantment. All of VeinMiner's normal block rules and settings still apply on top.

How the enchantment behaves by default

  • Appears in the enchanting table from roughly level 15 up to 65 cost.
  • Can be traded from villagers and found as random loot.
  • Single level by default, applicable to mining tools (#minecraft:enchantable/mining).
  • Not a treasure enchantment, so it is not locked behind loot only.

Every value – weight, max level, anvil cost, table cost range, supported items, whether it is tradeable or lootable – can be changed. VeinMiner's own minEnchantLevel option lets you go further, for example requiring level 2 before ores can be vein-mined.

Requirements

  • VeinMiner must be installed. Pick the matching edition: datapack, mod for Fabric, Quilt or NeoForge, or the server plugin.
  • Minecraft 1.21 to 26.3 (the data-driven enchantment system it uses arrived in 1.21).
  • Server side only; players do not need anything.
  • Setting changes take effect after a restart or rejoining the world.

Good with

The client VeinMiner Hotkey addon still works alongside this one, so players can choose when an enchanted pickaxe vein-mines.

FAQ

Does VeinMiner Enchantment work on its own?

No. It is an addon and needs VeinMiner installed. On its own it does nothing.

How do I get the Veinmine enchantment?

By default it can appear in the enchanting table, in villager trades and in loot chests, on any tool that accepts mining enchantments.

Can I change how rare the enchantment is?

Yes. On the mod or plugin use the veinminer enchant command or edit enchantmentSettings.json. For the datapack, edit the enchantment file inside the zip.

Gallery

Downloads by version

MinecraftMod versionFile
26.3 1.3.60.0 MB Download
26.2 1.3.40.0 MB Download
26.1.2 1.3.40.0 MB Download
26.1.1 1.3.40.0 MB Download
26.1 1.3.40.0 MB Download
1.21.11 1.3.40.0 MB Download
1.21.10 1.3.40.0 MB Download
1.21.9 1.3.40.0 MB Download
1.21.8 1.3.40.0 MB Download
1.21.7 1.3.40.0 MB Download
1.21.6 1.3.40.0 MB Download
1.21.5 1.3.40.0 MB Download
1.21.4 1.2.60.0 MB Download
1.21.3 1.2.60.0 MB Download
1.21.2 1.2.60.0 MB Download
1.21.1 1.2.60.0 MB Download
1.21 1.2.60.0 MB Download

🛡 Files are downloaded directly from Modrinth’s servers – we never modify or rehost them. Modrinth ↗

How to install this mod

  1. Click “Download” to get the .zip.
  2. Copy it into .minecraft/saves//datapacks.
  3. Or when creating a new world: Data Packs → drag and drop the file.
  4. In a running world type /reload.

💬 Comments

🔗 Works well with

✨ You might also like

Supports
1.21 – 26.3
License
LGPL-3.0-only
Updated
Source code
GitHub ↗