Minecraft / Data Packs

Hammer Datapack

  • check_circle Functions
  • 46 diamonds
  • 40,336 views, 74 today
  • 10,110 downloads, 13 today
  • 81 comments
  • 52 favorites
  • 46
  • 52
  • comment81
  • playlist_add
  • share
  • more_horiz
avatar Firebug
Level 60 : High Grandmaster Engineer
60
Drop an iron block and an iron/diamond pick/shovel on top of an enchantment table while you have 10 levels to enchant it with the ability to mine a 3x3 area. Works omnidirectionally. Pick breaks cobble, stone, netherrack, end stone, diorite, andesite, granite, and polished variants. Shovel breaks dirt, sand, grass, podzol, red sand, gravel and coarse dirt. Instruction file included. Should be multiplayer compatible but not guaranteed, I haven't been able to test it on a server. I'm open to suggestions for improvements.
CompatibilityMinecraft 1.14
Tags

5 Update Logs

Version 1.2.7 : 05/01/2019 7:14:39 pmMay 1st, 2019

Fixed bug when hammer would stop working seemingly randomly (due to a hiccup in scoreboard stats)
LOAD MORE LOGS

81 replies

1
02/20/2020 9:49 amhistory
Level 59 : Grandmaster Terraformer
Myyoyo
What if someone tries to use it on a world guard region?
1
01/19/2020 1:25 pm
Level 1 : New Miner
darkn00b1971
Works well on 1.15.1.
1
12/20/2019 5:21 amhistory
Level 6 : Apprentice Miner
SpeedRider
the data pack seems to beake when there are 2 people mining at the same time is there any way to fix this

and do you have a discord
2
11/10/2019 1:13 am
Level 1 : New Crafter
ROAMINGME
Hello Firebug,

I modified the `pickhammer.json` to add blocks that could be broken, but these blocks seem to be only broken if they are the non-center block of the 3x3 radius. I added the same blocks respectively into `tagstone.mcfunction` but only iron_ore is breakable if it is the center block.

I've added coal_ore, iron_ore, diamond_ore, lapis_ore, emerald_ore to both files in the same way that both files had pre-existing lines.

Additionally, I originally tried to modify your datapack to have hammerhead I and hammerhead II but when making a duplicate datapack (for hammerhead II) modifying testenchant.mcfunction, enchant.mcfunction, etc, both datapacks ceased to work. So I was wondering if it was possible to have a Hammerhead 2 enchant using a diamond_block instead of iron_block.

But for now, I can't figure out why only iron_ore is breaking in a 3x3 and center and not other _ore's.

Thank you for your time
1
11/08/2019 6:28 am
Level 1 : New Explorer
LadySnowGames
Hey, I tried your method of fixing colliding data packs (which both of yours: Mineral Massacre and this hammerhead) by changing the hammer one in the testenchant.mcfunction and rezipping, not zipping, remove the extra folder then rezipping.
Maybe it only works if I change the mineral massacre (which I didn't do because everyone is used to using it on my server), otherwise, I think I'm missing what I am supposed to do.

Thank you and love your packs.
1
11/08/2019 6:37 amhistory
Level 1 : New Explorer
LadySnowGames
So, I just quickly tried changing the mineral massacre one, and now the hammerhead enchantment works on the enchantment table, but I can only seem to get one or the other to work if it is not changed. I tried setting it to anvil and lapis block (because I knew the ids) and I think there has to be another step or text edit, I'm missing?

So, changing the file makes the data pack not work. I tried it by itself with changing using notepad +++ on that one file. I do not know if its the program I use or there is another part I missed. I just thought you would like to know. I am going to just have to live without one of them.
1
11/07/2019 9:33 am
Level 1 : New Miner
StressedPanda
do i have to extract it or not
1
10/20/2019 2:15 am
Level 1 : New Miner
FitchKrasue
Does not work with Silk touch. From 9 stones I get 1 stone and 8 cobblestone.
1
10/13/2019 12:19 am
Level 1 : New Miner
KoopaTehTurtle
Suggestion: be able to throw a golden block onto an Enchant Table with a Hammered tool to remove the Hammered effect.
1
08/13/2019 10:48 am
Level 1 : New Miner
asafjaslsaleigf
I threw I block Of iron and a Pick on the enchanting table, and nothing happens. Im at level 26. Please help!
1
08/07/2019 1:31 pm
Level 1 : New Miner
komzzi
Nice data pack, can you add nether brick to pickaxe? :)
1
08/04/2019 6:22 am
Level 18 : Journeyman Miner
zedingyas
how to edit the functions in this pack?
1
07/14/2019 11:21 amhistory
Level 1 : New Miner
Jamxs23
Your datapack was really cool, and I was wondering if you can tell me how you only targeted the blocks mined by the pickaxe. I can’t figure it out :( If you can help me, thanks
1
06/14/2019 10:55 am
Level 1 : New Miner
SurrealDelight
I really enjoy this datapack, but I find it kind of OP how it uses one durability to mine 9 blocks. Is there some sort of way to fix this?
2
06/15/2019 3:14 pm
Level 60 : High Grandmaster Engineer
Firebug
I agree. I have an update in the works, I'll try to get it finished within a couple weeks
1
06/09/2019 1:07 pm
Level 6 : Apprentice Miner
SpeedRider
Will this work on 1.14.2
1
05/27/2019 5:23 am
Level 1 : New Miner
CharlYT_1
Is there any way to change which block it gives the hammer head enchant on because i have another datapack that uses an enchanting table to get enchants and they seem to be colliding together.
1
05/27/2019 6:31 am
Level 1 : New Miner
CharlYT_1
Its ok now i had a lot of trial and errors but i finally got there in the end :)
1
11/24/2019 7:40 pm
Level 1 : New Explorer
LadySnowGames
CharlYT_1 how did you ever get the datapacks to function together??
2
05/30/2019 3:51 pm
Level 60 : High Grandmaster Engineer
Firebug
Sorry I didn't respond quickly. Glad you got it! For anyone in the future who wants to do this:
  1. Extract the zip
  2. Navigate to MineralMassacre>data>mineralmassacre>functions>testenchant.mcfunction (open in any text editor)
  3. replace "minecraft:enchanting_table" with the block id you want the item to enchant on top of
1
05/20/2019 8:20 am
Level 1 : New Miner
JSUM1086
I added mending to the pickaxe as well as an ore vain mining axe which i think you made and it wont let me add any other enchantments to the picks. Is this a thing done on purpose or is that just how minecraft works?
1
05/20/2019 1:39 pm
Level 60 : High Grandmaster Engineer
Firebug
If you put an enchantment (ie Mending) on something you can't enchant it anymore. However, you can enchant books and merge them with the tool on an anvil to get around this. That's a minecraft thing, and the HammerHead enchantment doesn't factor into this
1
05/17/2019 5:16 pm
Level 1 : New Miner
alionguy
I bug I found was that when I wore an item that magnets items too me the hammer would either not work at all or would mine under me. But I don't care that much I don't wear that item.
1
05/17/2019 9:15 pm
Level 60 : High Grandmaster Engineer
Firebug
This is a known issue, but thanks anyway! Simply rename the other pack so that it starts with a letter after H (for example, name it JAuArmor instead of AuArmor) and it will be resolved
2
05/15/2019 10:34 pm
Level 1 : New Crafter
Matai
Are there any plans on adding support for silk-touch enchant in the near future?(1.14.1)?

Really nice job on the datapack btw! :D
2
05/16/2019 4:39 am
Level 60 : High Grandmaster Engineer
Firebug
Idk why you'd want that much stone, but sure. It seems straightforward, so I'll put it on my to-do list, thanks!
1
05/13/2019 5:18 pm
Level 1 : New Explorer
TekkStorm
in 1.14.1, the hammer enchantment actually breaks the blocks under me instead of the blocks i faced

If you could fix this, thatll help
either that or just tell me where to fix the code so it can work again
1
05/13/2019 11:14 pm
Level 60 : High Grandmaster Engineer
Firebug
The pack is working as intended in my testing, is there a way I can recreate the issue?

Rotation (both x and y), tool, what block you're mining, if you're using a datapack that edits the HHhammered tag or HHsquare score, try standing back from the block you're mining, does the direction of the three blocks mined under you change based on direction or are they always the same, singleplayer or multiplayer, etc
1
05/14/2019 7:46 pm
Level 1 : New Explorer
TekkStorm
Also, no matter how far you are, the 3 blocks will be destroyed under you when the glitch is activated.
1
05/14/2019 4:18 pm
Level 1 : New Explorer
TekkStorm
I believe it might be a clash of datapacks. In order to find the issue, I might have to disable the datapacks that I got after I got the HammerHead datapack.

Before actual posting: After typing the top, I went to test, and apparently, it was Sky datapacks created by Resistance_Is_Futile. If you want to recreate it, or want to test what goes wrong with HammerHead when clashed with the Sky datapacks, here you go:
https://www.planetminecraft.com/mod/sky-aiot-datapack-1-14-by-resistance-is-futile/
https://www.planetminecraft.com/mod/skyhopper-datapack-by-resistance-is-futile/

I swear this is not an advertisement. I actually just want to know what goes wrong so I can play with both at the same time.
1
05/14/2019 8:09 pm
Level 1 : New Explorer
TekkStorm
Ah. Ok. So when the update happened, it broke all the functions of the original 1.14 HammerHeads. FOUND IT!
1
05/14/2019 8:17 pm
Level 1 : New Explorer
TekkStorm
No... DID SOME MAJOR TESTING, AND IT TURNS OUT IT ISNT THE SKY DATAPACKS! ITS THE AU ARMOR DATAPACK BREAKING MY PICKAXE! https://www.planetminecraft.com/mod/au-armor-with-added-effects/
but, like before, the 1.14-1.14.1 theory works too
1
05/15/2019 1:39 am
Level 60 : High Grandmaster Engineer
Firebug
Are you maybe wearing a gold chestplate while using the hammer? The chestplate magnetizes items towards you, and the HammerHead enchant uses the item to figure out where to mine, so its probably going: break block>item drops>item tps to you (bc of chestplate)>item does hammer effect. If so, then i may need to do some tweaking to get the order right

EDIT: apparently minecraft loads datapacks alphabetically, so just rename the pack folder so it starts with a letter past H and it functions perfectly
1
05/12/2019 2:45 pm
Level 1 : New Miner
fussman
Why does this work for about 5 hits, then it starts breaking the blocks I am standing on?
1
05/13/2019 11:14 pm
Level 60 : High Grandmaster Engineer
Firebug
Someone else just now reported a similar issue, is there a way I can recreate the issue?

Rotation (both x and y), tool, what block you're mining, if you're using a datapack that edits the HHhammered tag or HHsquare score, try standing back from the block you're mining, does the direction of the three blocks mined under you change based on direction or are they always the same, singleplayer or multiplayer, etc
1
05/10/2019 1:32 am
Level 11 : Journeyman Modder
AstrisAzathoth
Does this work in 1.13.2?
1
05/13/2019 11:17 pm
Level 60 : High Grandmaster Engineer
Firebug
No, sorry, as soon as 1.14 came out I updated it. I'm curious, why have you not updated?
1
05/14/2019 7:13 pm
Level 11 : Journeyman Modder
AstrisAzathoth
I'm waiting for 1.14 to get a few fixes. In my 1.14 world, the dragon just kept flying in circles and not landing. It was an easy, but really annoying kill.
2
05/05/2019 12:54 pm
Level 1 : New Miner
RegiCB
it is possible to make the pickaxe wear out 9 uses instead of only 1? love the pack but thing its a bit op.
1
05/03/2019 5:45 am
Level 11 : Journeyman Modder
AstrisAzathoth
I'm not even sure this can be fixed, but when mining with Efficiency V and a Haste II beacon, the hammer skips a few blocks.
1
05/03/2019 10:44 am
Level 60 : High Grandmaster Engineer
Firebug
It has a 1/4 second cooldown, you can reduce this but keep in mind it runs a bunch of commands for every block and breaks 9 blocks every time so it can get very laggy very quickly if you're breaking tons of blocks at once.


If you want to reduce the cooldown follow these steps:
  1. extract zip file
  2. go to HammerHead\data\hammerhead\functions\main.mcfuntion
  3. change Age:5s to a lower number, no lower than 1
EDIT: after some testing it seems that its not possible to fully remedy this, even with no cooldown at all. I think haste 2 efficiency 5 actually literally breaks >=2 blocks per tick and ticks per second is the limiting factor here
1
05/03/2019 7:11 pm
Level 11 : Journeyman Modder
AstrisAzathoth
I suspected as much. Thanks for trying though.
1
05/01/2019 10:24 pm
Level 12 : Journeyman Artist
Cjfett17
Will you be making this work in creative as well? Love this Pack by the way
1
05/01/2019 10:55 pm
Level 60 : High Grandmaster Engineer
Firebug
I don't have any plans to, no sorry. At the moment it works by finding the drop of a block and the "used x tool" stat, neither of which happen in creative. Thanks for the support though!
1
05/01/2019 11:25 am
Level 1 : New Miner
staybiuwsad
Just randomly stopped working halfway through mining? Any idea how to fix?
1
05/01/2019 6:56 pm
Level 60 : High Grandmaster Engineer
Firebug
Are you on the newest version of the pack (1.2.7, should say at the top of the instruction file)? I think I figured it out
1
05/01/2019 1:59 pm
Level 12 : Journeyman Artist
Cjfett17
same issue. Not sure what that's about.
1
05/01/2019 7:15 pm
Level 60 : High Grandmaster Engineer
Firebug
Try out the new version, I think I figured it out
1
05/01/2019 9:06 am
Level 10 : Journeyman Cake
Heroder55
Hey!
How to configure it so there is no spamming on chat?
I mean when cobblestone says hi when dropped.
1
05/01/2019 6:54 pm
Level 60 : High Grandmaster Engineer
Firebug
Redownload the pack, I updated it recently
1
04/30/2019 4:24 pm
Level 26 : Expert Engineer
Krazyman999
Great mod idea, I use the Tinkers mod a lot. Here's some ideas, I don't know how possible it is.


Enchantments.

3x3 miner enchant, can be used on Shovels, Picks and any other tools.
5x5 miner enchant, same as above uses.
10x10 miner enchant, same as above uses.
Chunk miner enchant, same as above. Used for people making Slime Farms. Mines a single block of a whole chunk below you.


Just a couple of ideas... :)
Planet Minecraft Logo

Website

© 2010 - 2020
www.planetminecraft.com

Welcome