跳到正文

Vein Miner Enchantment

作者:slate023

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.

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

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 Enchantment 支持哪些 Minecraft 版本?

Vein Miner Enchantment 支持 Minecraft Java 版 1.21.1,可用的加载器:NeoForge。下载时注意选择和你游戏版本一致的文件。

Vein Miner Enchantment 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。

评论

登录后评论和评分

slate023 的其他作品

查看全部 →