HHGames/data/herohost/functions/tnt/core.mcfunction
HeroChris f8951522bb Init
2023-09-15 19:52:54 +02:00

7 lines
342 B
Mcfunction

# --- HeroGames - Copyright (c) HeroHost team (code provided by HeroChris). ---
# give and remove tnt
item replace entity @a[tag=hc.get_tnt] armor.head with tnt{HideFlags:1,Enchantments:[{id:"minecraft:binding_curse",lvl:1s}]} 1
item replace entity @a[tag=hc.give_tnt] armor.head with air 1
tag @a remove hc.get_tnt
tag @a remove hc.give_tnt