Execute if has custom model data 1 (1.21)
Trying to figure out how to do this in the new version, Here it the command I'm trying to do:
execute as @a[nbt={Inventory:[{id:"minecraft:carved_pumpkin",tag:{CustomModelData:1}}]}] at @s run tellraw @a "Hello"
However this does not work, Not sure if they changed the syntax or i've done it completely wrong
It's been a while since I've done anything with commands like this
Continue to help post