vein miner pickaxe
Create a Minecraft Java Edition 1.21.1 mod for a standard multiplayer survival server that adds a new tool called the Vein Miner Pickaxe. Tool Properties:...
00—fabricBoth1.21.1mod
Vein Miner Pickaxe mod
- Adds the Vein Miner Pickaxe, a diamond-tier pickaxe with the same mining level, speed, and block compatibility as a vanilla diamond pickaxe. When it breaks an ore from the included ore list, it automatically mines connected matching ore blocks in a flood-fill up to 64 additional blocks (6-direction adjacency). Extra breaks respect survival rules, drops, and durability, and recursion is prevented per-player while the chain runs.
- Vein mining only applies to blocks tagged
veinminerpickaxe:vein_mineable(coal, iron, copper, gold, redstone, emerald, lapis, diamond, nether quartz, ancient debris, plus their deepslate or nether variants). Other blocks mine normally. - Crafting: shapeless recipe combining a diamond pickaxe with 4 redstone dust yields the Vein Miner Pickaxe. The item also appears in the Tools & Utilities creative tab.
- Includes a custom handheld item texture and model for the pickaxe, with localization for the item name.
- Notes/limits: diagonal ore connections do not chain, and the chain stops once 64 connected ore blocks are mined to avoid runaway harvesting. Use a different tool if you want to mine single ore blocks without triggering the vein effect.
Server Validation
✅ Server validation passed - The mod was tested on a real Minecraft server and loaded successfully.