I'm trying to execute a command if a mob has the Owner
NBT tag, regardless of who the owner is. How would I do this, if possible?
I'd like to be able to do something like
/execute as @e[nbt={Owner=""}]
or
/execute as @e[nbt={Owner="*"}]
.
Which don't work, as expected, but I'm hoping there's a way that I didn't think of or simply don't know.
I intend to make something that only affects players and tamed mobs. It doesn't matter who tamed the mob, as long as it is tamed it should be affected.
if [entity] has [NBT container tag] then ...