Arqade Asked by That Falco001 on July 10, 2021
This is the command I used which isn’t working:
execute as @e[type=husk,tag=remake] run execute at @s unless block ~ ~-1 ~ air run tag @s add looted
This command is adding a tag called looted to the entity when they are no longer in the air that is what I want to happen
I'm not sure if I'm missing something pretty obvious but you should just be able to do:
execute as @e[type=husk,tag=remake] if data entity @s {OnGround:1b} run tag @s add looted
This adds the tag looted
to any husk with the tag remake
if they are not touching the ground
Answered by Jam on July 10, 2021
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP