• check_circle Functions
  • 3,197 views, 11 today
  • 356 downloads, 1 today
  • 11
  • 6
  • 5
natural_power's Avatar natural_power
Level 42 : Master Miner
16
Set any item or block to be your hat!

Simply hold an item run the command /trigger hat

The item that is currently in your head slot will be safely swapped to your hand



(Multiplayer friendly / Everyone is able to run the command)
CompatibilityMinecraft 1.18
Tags

Create an account or sign in to comment.

1
04/08/2022 1:02 pm
Level 1 : New Miner
fenixxxxxxxxxxxxx
fenixxxxxxxxxxxxx's Avatar
This dont works, i put this datapack in a server on 1.18.2 and the datapack dont works
1
04/21/2022 11:14 am
Level 42 : Master Miner
natural_power
natural_power's Avatar
Does it say anything when you try to run the command?

Also is the server on Apex? Cuz I had a problem on there before
1
04/21/2022 11:21 am
Level 42 : Master Miner
natural_power
natural_power's Avatar
Try run the following commands and see if it works:


/scoreboard players enable @a hat
/execute as @a if score @s hat matches 1.. run scoreboard players set @s hat 0
/trigger hat
/execute as @a if score @s hat matches 1.. run function hats:sethat

(If this works you can put them (not the /trigger hat) in repeating command blocks to make it work, but I'm looking into where servers mistreat it to not run these commands by themselves)
2
03/30/2022 2:53 pm
Level 32 : Artisan Pixel Painter
faIIow
faIIow's Avatar
simple and fun, thanks for making it!
(I think my favorite is when you have dynamic lighting on and wear a lantern on your head but it appears inside your head, so then it just looks like you're glowing from nowhere, it's great-)
1
04/07/2022 10:45 am
Level 42 : Master Miner
natural_power
natural_power's Avatar
Well thank you and you're welcome!

I'll make sure to try that lantern
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome