Data Packs Other

Vein Miner (Works on trees)

  • Functions
  • Loot Tables
  • Predicates
  • 88,948 views • 18 today
  • 25,031 downloads • 7 today
  • 46
  • 45
  • 33
Endernice61
Level 74 : Legendary System
189
/!\ Versions from 1.20.5 to 1.21.3 may not function correctly /!\
This datapack allows you to vein mine. To vein mine, hold crouch and mine a block.
To change the options, look directly up and press sneak. Open chat to select the option.
Notes about vein mining:
It does not work on all blocks, because it compares the item dropped and the loot tables of the adjacent blocks. Only 16 blocks can be removed per tick to reduce lag, so if multiple people are vein mining, it might take some time. The datapack compares the item dropped and the loot tables of adjacent blocks. Vein miner does not work with an empty hand.
Things to be careful of:
Accidentally vein mining your base.
Vein mining containers, it does not drop its contents when mined.
Vein mining multiple kinds of blocks, if their loot tables have the same drop then both will be vein mined.
Installation
The datapack is called something like "vein-miner-e1670.zip" and should be in the already existing datapacks folder in your world's folder. If you are creating a new world, click datapacks and open folder, then paste. Then enable it.
Options
[​Toggle]: Disables or enables vein mining
[​Mode]: Goes between vein mining ores only and vein mining all blocks. Items will still teleport even if it is set to ores.


Vein mining can be restricted to a specific area with Building Plan installed using the destruction plan, which is crafted with red dye and paper.
CompatibilityMinecraft 1.17
toMinecraft 1.20
Tags

11 Update Logs

Update #11 : by Endernice61 01/04/2025 7:56:47 pmJanuary 5, 2025 @ 12:56 am UTC

/!\ Has not been updated to 1.20.5 to 1.21.3 /!\
Tools now get damaged when they are at full durability.
(1.21.4) Stops vein mining when the tool is out of durability instead of after
LOAD MORE LOGS

  Have something to say?

BrazyCastard
01/04/2025 8:16 am
Level 1 : New Miner
history
thers a bug its mining out not just veins but like a full area of tuff blocks while i was making a zombie spawner it took out a massive area of tuff like a nuke hit underground i am playing on 1.20.4 tho so maybe just a bug
1
Endernice61
01/04/2025 7:58 pm
Level 74 : Legendary System
Look directly up and crouch and it will give you a dialogue where you can change the mode to ores and it will only mine out ores.
1
EvilPoindexter
01/03/2025 11:22 am
Level 1 : New Miner
Thanks for updating to 1.21.4!. I feared this dp had been abandoned, but even though it's stated that it's "mostly functional" it seems to working well so far. Love this datapack! 👍
1
User4951444G
09/01/2024 4:21 am
Level 1 : New Miner
I have a little problem when I look directly up and press sneak nothing happened but one times just work and I don't know how I did it
1
User5290551G
08/01/2024 4:41 pm
Level 1 : New Miner
it is good but i will say I do have -25 durability with my pickaxe now
2
EvilPoindexter
06/29/2024 2:56 am
Level 1 : New Miner
This is the best veinminer I have used... Hope it gets updated for 1.21.
4
honkyboi
11/16/2023 1:16 pm
Level 17 : Journeyman System
wait
2
honkyboi
11/16/2023 1:16 pm
Level 17 : Journeyman System
doesnt work.
2
bucketmaster47
10/23/2023 10:30 am
Level 3 : Apprentice Network
not working anymore in 1.20.1 optifine
1
KittyCat_
10/02/2023 1:54 am
Level 1 : New Explorer
it dose not work me me :(
1

Welcome