Minecraft Data Packs / Other

Vein Miner (Works on trees)

  • check_circle Functions
  • check_circle Loot Tables
  • check_circle Predicates
  • 64,722 views, 41 today
  • 18,547 downloads, 10 today
  • 41
  • 43
  • 27
Endernice61's Avatar Endernice61
Level 72 : Legendary Engineer
179
/!\ Has not been updated to 1.20.5 /!\
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

9 Update Logs

Update #9 : by Endernice61 12/05/2023 1:29:44 pmDec 5th, 2023

Optimization: only runs @e on vein mine markers after you mine a block, then stops when it no longer detects vein mine markers.
Optimized optimization for pack format 23.
LOAD MORE LOGS

Create an account or sign in to comment.

mewoMakesStuff
11/16/2023 1:16 pm
Level 10 : Journeyman Engineer
mewoMakesStuff's Avatar
wait
1
mewoMakesStuff
11/16/2023 1:16 pm
Level 10 : Journeyman Engineer
mewoMakesStuff's Avatar
doesnt work.
1
bucketmaster47
10/23/2023 10:30 am
Level 2 : Apprentice Network
bucketmaster47's Avatar
not working anymore in 1.20.1 optifine
1
KittyCat_
10/02/2023 1:54 am
Level 1 : New Explorer
KittyCat_'s Avatar
it dose not work me me :(
1
Endernice61
10/02/2023 6:53 pm
Level 72 : Legendary Engineer
Endernice61's Avatar
How did you install it?
1
User4733421G
08/11/2023 7:13 pm
Level 1 : New Miner
User4733421G's Avatar
Works great (1.20.1)
1
Francesco_09
08/02/2023 12:25 pm
Level 2 : Apprentice Miner
Francesco_09's Avatar
can you pls do it for the new snapshot?
1
Endernice61
08/04/2023 12:57 am
Level 72 : Legendary Engineer
Endernice61's Avatar
Maybe
1
11/19/2022 3:18 pm
This reply was removed by the poster or a moderator.
Endernice61
11/19/2022 7:07 pm
Level 72 : Legendary Engineer
Endernice61's Avatar
If you open up the datapack and go to data/vm/functions there is a file called vm_player and player. Open it. Find wherever it says @e[tag=new,distance=0..8] and @e[tag=new,distance=0..9] and increase the number at the end. Some are higher than the others because they need to be teleported to the player without continuing the vein mining.

It may lag more the longer you vein mine as it is tracking more blocks.
2
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome