Ore Vein Miner
It automatically mines connected ore blocks when you break one with a pickaxe while crouching.

How It Works
- Crouch (Sneak) and mine any ore block with a pickaxe. The entire connected vein will be mined automatically (Silk Touch Compatible)
Documentation and Command Usages
Credits
Special thanks to PortableJim and Miraculixx for their existing VeinMiner projects and for making their work open source.
Their projects have served as valuable references, and earlier versions of this pack incorporated and learned from some of their implementation approaches.
How to Install Ore Vein Miner (Datapack)
Ore Vein Miner by quillphen is verified for Datapack, Fabric, Forge, Neoforge, Quilt across Minecraft versions 1.16, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5, 1.17, 1.17.1 (latest release: 3.2.0+mod, file size: 264 KB). Follow the steps below to install it safely from ModCraft.tv:
- Click the Download button above and select your Minecraft version (1.16, 1.16.1, 1.16.2, 1.16.3, 1.16.4, 1.16.5, 1.17, 1.17.1) and platform (Datapack, Fabric, Forge, Neoforge, Quilt).
- Make sure you have the compatible loader or environment installed for Datapack, Fabric, Forge, Neoforge, Quilt.
- Move the downloaded Ore Vein Miner file into your Minecraft
.minecraft/saves/<world>/datapacksfolder and launch the game.