• check_circle Advancements
  • check_circle Functions
  • check_circle Loot Tables
  • check_circle Predicates
  • check_circle Recipes
  • check_circle Structures
  • 1,639 views, 6 today
  • 140 downloads, 0 today
  • 4
  • 7
  • 4
Jurg3n avatar Jurg3n
Level 22 : Expert Engineer
Command Hat Datapack (1.17.1)

This data pack adds a command to minecraft, which gives you the opportunity to put any item on your head COMMAND: /trigger hat
I don't think you will have any problems with the installation.

My last datapack

Mining Helmet (1.19.2) - You need to have Optifine to work
CompatibilityMinecraft 1.17
toMinecraft 1.19

2 Update Logs

Verison 1.2 : by Jurg3n 12/22/2022 9:43:48 amDec 22nd, 2022

Now works on 1.19.2. Now I am creating a datapack for 1.20.

Create an account or sign in to comment.

12/08/2022 11:30 amhistory
Level 70 : Legendary Engineer
FunkyToc avatar
I just did a top5 review for "hat with vanilla block" and I have to say that your datapack is the most efficient and powerfull I saw (congratulations) =)

Negative point for the "gamerule" line -> it's not up to your datapack to decide if the rule has to be true on false ;)
Improvment point : use the data storage command to get rid of the barrel dependency
12/22/2022 2:59 pm
Level 30 : Artisan Miner
Lordphenex avatar
I don't see how you can improve it with data storage as you need to modify player data to swap hand and head armor. I would use an armorstand or any entity that can hold an item
12/25/2022 12:04 pm
Level 70 : Legendary Engineer
FunkyToc avatar
you can store a whole item data in a storage. So instead of data modify from barrel, you can data modify from storage :)
12/26/2022 7:03 am
Level 30 : Artisan Miner
Lordphenex avatar
I still don't get it...
For what I know you cannot modify player data so using a storage wouldn't help...
To swap player head and hand items, you still need something that can hold item in order to use the /item replace command.
Planet Minecraft


© 2010 - 2023