Minecraft Data Packs / Other

Hammer Datapack

  • check_circle Functions
  • 61,570 views, 83 today
  • 14,917 downloads, 15 today
  • 63
  • 71
  • 92
Firebug avatar Firebug
Level 64 : High Grandmaster Engineer
79
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

1
10/11/2020 11:00 am
Level 1 : New Network
Wietru
Wietru avatar
need netherite pickaxe v netherite shovel update
1
10/08/2020 4:01 pm
Level 1 : New Network
Wietru
Wietru avatar
1.16.3 work thanks baby
2
06/30/2020 5:53 pm
Level 8 : Apprentice Miner
Eltodofull
Eltodofull avatar
It's no longer working in 1.16.1 :(
1
06/06/2020 2:41 am
Level 1 : New Miner
meLo885
meLo885 avatar
Love it! Works in 1.16 pre-2 :)
1
06/01/2020 4:23 am
Level 1 : New Miner
xXErronXx
xXErronXx avatar
O-o
1
05/15/2020 1:26 pm
Level 18 : Journeyman Crafter
CraftMaster6875
CraftMaster6875 avatar
it started working once I got rid of everything that I put in the files
1
05/15/2020 1:24 pm
Level 18 : Journeyman Crafter
CraftMaster6875
CraftMaster6875 avatar
it says that its hammerhead but it doesn't work
1
04/23/2020 1:42 pm
Level 1 : New Explorer
K3ki
K3ki avatar
Something similar, but that instead of mining in 3x3, Haste 2 or 3 gives you, can it be done?
1
03/14/2020 3:45 pm
Level 1 : New Crafter
PatrickZePerson
PatrickZePerson avatar
How can I add a crafting recipe and custom texture for this? I'm trying to figure out how it works, but there's not give function and I'm not sure how to implement a crafting recipe.



Just for personal use btw :)
1
02/20/2020 9:49 amhistory
Level 60 : High Grandmaster Wolf Whisperer
Myyoyo
Myyoyo avatar
What if someone tries to use it on a world guard region?
1
01/19/2020 1:25 pm
Level 1 : New Miner
darkn00b1971
darkn00b1971 avatar
Works well on 1.15.1.
1
12/20/2019 5:21 amhistory
Level 14 : Journeyman Miner
SpeedRider
SpeedRider avatar
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
ROAMINGME avatar
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
03/18/2020 3:35 am
Level 1 : New Miner
User2945924G
User2945924G avatar
not sure what the problem is but i updated blocks lists successfully: add namespace id block into pickhammer, add corresponding line in tagstone line. Make sure punctuation is the same (i just copy pasted existing lines and replaced block name). I didn't zip it and it works fine with new blocks in 1.16 snapshot
1
11/08/2019 6:28 am
Level 1 : New Explorer
LadySnowGames
LadySnowGames avatar
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
LadySnowGames avatar
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
StressedPanda avatar
do i have to extract it or not
1
10/20/2019 2:15 am
Level 1 : New Miner
FitchKrasue
FitchKrasue avatar
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
KoopaTehTurtle avatar
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
asafjaslsaleigf avatar
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
komzzi avatar
Nice data pack, can you add nether brick to pickaxe? :)
1
08/04/2019 6:22 am
Level 22 : Expert Miner
zedingyas
zedingyas avatar
how to edit the functions in this pack?
1
07/14/2019 11:21 amhistory
Level 1 : New Miner
Jamxs23
Jamxs23 avatar
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
SurrealDelight avatar
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 64 : High Grandmaster Engineer
Firebug
Firebug avatar
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 14 : Journeyman Miner
SpeedRider
SpeedRider avatar
Will this work on 1.14.2
1
05/27/2019 5:23 am
Level 1 : New Miner
CharlYT_1
CharlYT_1 avatar
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
CharlYT_1 avatar
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
LadySnowGames avatar
CharlYT_1 how did you ever get the datapacks to function together??
2
05/30/2019 3:51 pm
Level 64 : High Grandmaster Engineer
Firebug
Firebug avatar
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
JSUM1086 avatar
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 64 : High Grandmaster Engineer
Firebug
Firebug avatar
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
alionguy avatar
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 64 : High Grandmaster Engineer
Firebug
Firebug avatar
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
Matai avatar
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 64 : High Grandmaster Engineer
Firebug
Firebug avatar
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
TekkStorm avatar
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 64 : High Grandmaster Engineer
Firebug
Firebug avatar
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
TekkStorm avatar
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
TekkStorm avatar
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
TekkStorm avatar
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
TekkStorm avatar
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 64 : High Grandmaster Engineer
Firebug
Firebug avatar
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
fussman avatar
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 64 : High Grandmaster Engineer
Firebug
Firebug avatar
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 15 : Journeyman Modder
AstrisAzathoth
AstrisAzathoth avatar
Does this work in 1.13.2?
1
05/13/2019 11:17 pm
Level 64 : High Grandmaster Engineer
Firebug
Firebug avatar
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 15 : Journeyman Modder
AstrisAzathoth
AstrisAzathoth avatar
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
RegiCB avatar
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 15 : Journeyman Modder
AstrisAzathoth
AstrisAzathoth avatar
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 64 : High Grandmaster Engineer
Firebug
Firebug avatar
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
Planet Minecraft Logo

Website

© 2010 - 2021
www.planetminecraft.com

Welcome