Minecraft Data Packs / Other

Vein Mining Datapack

  • check_circle Functions
  • 108,255 views, 85 today
  • 26,337 downloads, 26 today
  • 61
  • 82
  • 61
Firebug avatar Firebug
Level 65 : High Grandmaster Engineer
80
Drop a block of lapis and an iron/diamond pick on top of an enchantment table while you have 10 levels to enchant it with the ability to destroy an entire vein in the blink of an eye. Instruction file included. Multiplayer compatible. I'm open to suggestions for improvements.
CompatibilityMinecraft 1.14
Tags

2 Update Logs

Version 1.3.1 : 04/25/2019 6:12:10 pmApr 25th, 2019

  • Vein mined ores no longer drop experience
  • Now takes Silk Touch and Fortune into account
  • Also takes Molten Core into account (an auto smelting pack I made)
  • Made everything even less laggy
LOAD MORE LOGS

Create an account or sign in to comment.

1
08/06/2020 11:46 am
Level 1 : New Miner
marcelocajado
marcelocajado avatar
atualiza help...
2
08/27/2020 10:34 amhistory
Level 25 : Expert Miner
hadron1
hadron1 avatar
It works fine with 1.16.1 (i think with 1.16.2 too). I only added one additional ore: Nether Gold Ore. You have to do two changes:
This is your new data\mineralmassacre\tags\blocks\ore.json file:
{
"values":
[
"minecraft:coal_ore",
"minecraft:iron_ore",
"minecraft:gold_ore",
"minecraft:diamond_ore",
"minecraft:lapis_ore",
"minecraft:nether_quartz_ore",
"minecraft:redstone_ore",
"minecraft:emerald_ore",
"minecraft:nether_gold_ore"
]
}

And add these lines to data\mineralmassacre\functions\main.mcfunction file:
execute as @e[type=item,nbt={Item:{id:"minecraft:nether_gold_ore"},Age:1s}] at @s run function mineralmassacre:veinprep
execute as @e[type=item,nbt={Item:{id:"minecraft:gold_nugget"},Age:1s}] at @s run function mineralmassacre:veinprep

Greetings
1
11/16/2020 12:51 am
Level 1 : New Miner
ChosenOne14
ChosenOne14 avatar
where will put that?
1
08/29/2020 5:25 pm
Level 25 : Expert Miner
hadron1
hadron1 avatar
Also, you can add this line to data\mineralmassacre\functions\loop.mcfunction file, you'll be able to enchant netherite pickaxe:
execute as @e[type=item,nbt={Item:{id:"minecraft:netherite_pickaxe"}}] at @s run function mineralmassacre:testenchant
Greetings
2
03/17/2020 4:33 pm
Level 1 : New Explorer
MaxiCT
MaxiCT avatar
Why does it not work? I am level 25 and i dropped the two things, nothing happened
1
01/20/2020 5:25 am
Level 1 : New Miner
Lightningoof
Lightningoof avatar
will you do the same but with timber enchantment?
1
12/01/2019 2:49 pm
Level 26 : Expert Architect
boyslikegirls
boyslikegirls avatar
Great data pack man keep up the good work!
1
10/20/2019 11:44 pm
Level 1 : New Miner
soraShiroPowered
soraShiroPowered avatar
it appears that your datapack isnt working.

i have only one mod installed (x-ray), and i have the treecapitator datapack installed alongside this.


playing MC 1.14.4
1
10/01/2019 7:13 pm
Level 1 : New Miner
pazzjiano
pazzjiano avatar
I don't think it's working with molten core, otherwise I'm probably doing something wrong haha
1
09/08/2019 4:49 am
Level 1 : New Miner
MakiDaki
MakiDaki avatar
Seems to break when used in conjunction with your gold armour datapack and other magnet datapacks, renaming packs to edit load order did nothing for this one. Apart from this minor concern, everything works great!
2
08/31/2019 10:55 am
Level 1 : New Miner
Akimbo_
Akimbo_ avatar
Hey it seems that it doesn't take the unbreaking enchantment into account. Anyway you could add that or is there anyway I could easily add that myself? Thanks
2
08/18/2019 11:22 amhistory
Level 1 : New Miner
Zech_
Zech_ avatar
Can you make an edit so that it will drop XP again please?

EDIT: Just read your post below about the /loot and XP not working together. Hope that fix someone gave you works.
1
08/10/2019 4:24 pm
Level 1 : New Miner
Dividia
Dividia avatar
Hey, is there any way to allow this to work with glowstone? I've tried adding the id in the ways you've mentioned earlier, but I'm having no luck
1
07/30/2019 1:20 am
Level 1 : New Miner
Damion05
Damion05 avatar
playing in 1.14.3 and it doesnt seem to work. randomly itll work and break 2-3 blocks of a vein but other than that when i initially mine an ore the whole vein doesnt break with it....
1
07/23/2019 10:17 pm
Level 1 : New Miner
Silivek
Silivek avatar
Could you try doing this for axes to chop a whole tree down?
1
07/24/2019 2:32 am
Level 1 : New Miner
Silivek
Silivek avatar
Scratch that, I edited the datapack to use axes.
1
08/11/2019 5:28 am
Level 1 : New Miner
pupwar574
pupwar574 avatar
how did you do that?
2
06/23/2019 9:15 am
Level 1 : New Miner
SavageKing2512
SavageKing2512 avatar
Why'd you remove the XP bit of the pack?
1
06/23/2019 3:18 pm
Level 65 : High Grandmaster Engineer
Firebug
Firebug avatar
Before, I used to use /setblock ... destroy, and that was all well and good, but in order to include fortune and silk touch I have to /loot, which is super useful except that /loot doesn't work with exp, and there isn't really any way I can tell to circumvent this because all the items spawned from the block and "looted" look the same to the game and have the same Age so I can't isolate the ones from the block and kill them or something.

For the time being it seems like it's either no exp or no enchantment compatibility, however someone has contacted me with a potential fix so look out for that soon
3
07/19/2019 9:42 am
Level 1 : New Miner
Minecraftian_Martian
Minecraftian_Martian avatar
"For the time being it seems like it's either no exp or no enchantment compatibility, however someone has contacted me with a potential fix so look out for that soon" <--- Any progress on this?
1
06/16/2019 10:58 amhistory
Level 1 : New Miner
dimsum
dimsum avatar
does this work for 1.14.2?
2
07/24/2019 1:54 am
Level 1 : New Miner
Silivek
Silivek avatar
Yes!
2
06/15/2019 4:46 am
Level 1 : New Miner
Scubacide
Scubacide avatar
Recovered my account just to tell you how awesome this datapack is. :)
1
06/07/2019 3:53 pm
Level 1 : New Miner
TheSevenMapleFox
TheSevenMapleFox avatar
So there is not limit to how many ores there can be mined?
2
05/27/2019 2:57 pm
Level 1 : New Miner
KrycerKris
KrycerKris avatar
Hey, so I'm also sad about the XP not dropping part and was wondering if you couldn't just spawn the ExpOrb entities when blocks like coal, diamonds, etc. break?
2
05/25/2019 6:07 am
Level 7 : Apprentice Dragon
Scarfaith
Scarfaith avatar
I wish I could get XP from the ores :c
2
05/17/2019 4:54 pm
Level 3 : Apprentice Explorer
ReeceBar
ReeceBar avatar
Can you make regular vein miner where all tools have it without needing to do anything?
1
05/17/2019 9:26 pm
Level 65 : High Grandmaster Engineer
Firebug
Firebug avatar
Can you elaborate on this a bit?
1
05/17/2019 9:31 pm
Level 3 : Apprentice Explorer
ReeceBar
ReeceBar avatar
Ok, what I mean is that any pick can vein mine any ore without required things like enchanting or stuff, just simple vein mining that any pick can do. Maybe you can do this with axes and trees? I like traditional vein miner where it was simply you can mine all ore using a pick destroying only one, which will also destroy the rest connected to it. I don't want needed enchantment for it. Can you do that? Did I elaborate enough?
1
05/16/2019 1:31 pm
Level 1 : New Miner
lukas862001
lukas862001 avatar
Hello! Very nice data pack! But is it possible that the ores do drop XP? I looked for other data packs but couldn't find one that does that. Thanks for the help.
2
05/16/2019 6:59 pm
Level 65 : High Grandmaster Engineer
Firebug
Firebug avatar
An old version dropped xp, but didn't work with fortune and silk touch. Sadly, this is the current predicament I'm in, it's a trade-off
1
05/14/2019 12:42 am
Level 6 : Apprentice Network
Agret_Brisignr
Agret_Brisignr avatar
Is there any way to limit how far the effect is applied? I really like this pack, but I'd like to nerf it in this aspect because I'm playing with very large and rare ore nodes, but don't want to lag my game / totally destroy my pickaxe when I mine one of these nodes.
1
05/14/2019 5:37 am
Level 65 : High Grandmaster Engineer
Firebug
Firebug avatar
In that case, I'd probably only enchant an iron pick. Although, in testing this you've made me realize that picks don't break when they hit max durability so maybe hold out for an update :)
1
05/14/2019 9:26 am
Level 6 : Apprentice Network
Agret_Brisignr
Agret_Brisignr avatar
Sweet! I've been using iron picks, but the lag is still very real. Looking forward to a possible update! :D
1
05/04/2019 11:38 am
Level 2 : Apprentice Miner
adscomics
adscomics avatar
Why did you make it so that vein mined ores no longer drop xp? Personally I don't think it's all that broken. Is it becaus it causes dropped items to duplicate? I made a change to the vein mcfunction file and removed the doTileDrops false line on the top, which caused item duping to happen.
1
05/04/2019 12:32 pm
Level 65 : High Grandmaster Engineer
Firebug
Firebug avatar
Before, I used to use /setblock ... destroy, and that was all well and good, but in order to include fortune and silk touch I have to /loot, which is super useful except that /loot doesn't work with exp, and there isn't really any way I can tell to circumvent this because all the items spawned from the block and "looted" look the same to the game and have the same Age so I can't isolate the ones from the block and kill them or something.

For the time being it seems like it's either no exp or no enchantment compatibility
1
05/04/2019 12:59 pm
Level 2 : Apprentice Miner
adscomics
adscomics avatar
Understood, thanks for filling me in on that!
1
05/03/2019 1:38 pm
Level 1 : New Miner
memegod
memegod avatar
Hey Firebug, I'm a huge fan of your work. I'm new to modding and anything but vanilla. My problem is what Happen said. I followed those steps, but I screwed something up. I would like to have a pure copy and paste of the normal files + stone, andesite, diorite, and granite. I am horrible at editing and would very much appreciate your help. Edit: Sorry that I need a lot, I'm just new to this stuff.
1
05/03/2019 5:43 pm
Level 1 : New Miner
Happen
Happen avatar
It worked for me so also should for u, just take unpacked pack then go for the Firebug's steps,save changes and then put it in the datapack folder and unpack
1
05/01/2019 6:51 pm
Level 1 : New Miner
Happen
Happen avatar
Hi dude is it possible this to work with diorite andesite and granite? would be really great for me huh
1
05/01/2019 8:21 pm
Level 65 : High Grandmaster Engineer
Firebug
Firebug avatar
If youre comfortable with editing files follow these steps:
  1. extract the zip
  2. navigate to MineralMassacre.zip\data\mineralmassacre\tags\blocks\ore.json (open with any text editor)
  3. add the following (including the comma) to the end of emerald_ore :
    ,
    "minecraft:andesite",
    "minecraft:diorite",
    "minecraft:granite"
  4. navigate to MineralMassacre.zip\data\mineralmassacre\functions\main.mcfunction
  5. copy paste one of the lines already in the file and edit it so that after minecraft: it says one of the three stones
  6. repeat the last step twice except with the other stone names
It should work from there
1
05/02/2019 11:45 am
Level 1 : New Miner
Happen
Happen avatar
THANKS man doing it's job r8 now!

but man here comes another question, is it possible to make pickaxe taking only one durability like when u mined only one block? Cuz u know it's taking durability=blocks mined in total and i wish it would take only one e.g like is was in older versions of timber mods
1
05/02/2019 8:08 pm
Level 65 : High Grandmaster Engineer
Firebug
Firebug avatar
It's OP in my opinion, but if you delete the line execute as @a[nbt={SelectedItem:{tag:{display:{Lore:['{"text":"Mineral Massacre"}']}}}}] store result entity @s SelectedItem.tag.Damage int 1 in vein.mcfunction then it shouldn't take more than 1 durability
1
03/01/2019 10:54 pm
Level 23 : Expert Dragonborn
skunkmunkee
skunkmunkee avatar
Love this datapack. I've been looking for Vein Miner for a while. Liked it so much I did a YouTube showcase video of it! https://www.youtube.com/watch?v=lggHEdKg5tA you are welcome to use the video if you want
1
02/24/2019 10:46 pm
Level 23 : Expert Dragonborn
skunkmunkee
skunkmunkee avatar
Doesn't work with silk touch it seems
1
02/25/2019 6:33 pm
Level 65 : High Grandmaster Engineer
Firebug
Firebug avatar
Sorry, I forgot to put it in the description though it does say in the instruction file. I will be adding some enchantment compatibility in 1.14
1
02/15/2019 4:28 am
Level 72 : Legendary Programmer
TheDiamondPlayables
TheDiamondPlayables avatar
discord.gg/MV4tHgT
Come join us on Datapack Discord!
Discuss datapack techniques,ask experience datapack creators, or just get to know other datapack creators out there. Share this link to any creator you know!
1
02/12/2019 7:43 pm
Level 1 : New Miner
Pentoast
Pentoast avatar
Just wanted to let you know this mod is giving me some horrible stutter. All mobs are barely moving around and I have to break a block multiple times sometimes to even get it to break. I took one mod out at a time to see if there was any incompatibility and it just seems to be something within your mod. Wish it would work because I love it!
1
02/12/2019 9:52 pm
Level 65 : High Grandmaster Engineer
Firebug
Firebug avatar
When does it lag? Always, when mining resources are on the ground, when you're holding the pick, when you mine an ore block? If it lags when mining an ore and you have a semi-low end machine that would make sense, as it's breaking a ton of blocks and creating a bunch of entities at once.

Never mind the questions, I was accidentally searching every entity in the world multiple times per tick, making the game itself lag. Just uploaded a new version, please tell me if this fixes the issue!
1
02/12/2019 3:07 pm
Level 1 : New Miner
Maki_Tsuki
Maki_Tsuki avatar
Would it be possible to remove the enchantment so I can break the whole vein with a normal pick? I looked at the code and only understod some of it and that's not a lot.
Planet Minecraft

Website

© 2010 - 2021
www.planetminecraft.com

Welcome