#nbt check

1 messages · Page 1 of 1 (latest)

whole dove
#

so i got my nbt to be given to the sword when its created and know im trying to check if that nbt tag exist on the item

    trigger:
        if nbt compound of player's tool has tag "CritDamage":
            send "yyaaaaaaa"
        else:
            send "awwwww"```

slightly confused on what im supposed to put for the tag any help/advise would be nice