This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
I am currently trying to create a line of commands to kill unnamed Skeleton Horses on my server. Is it possible to use /testfor to test for Skeleton Horses that don't have any name tags? EX: /testfor @e[type=EntityHorse]{Type=4}
No, if the entity does not have a name, the CustomaName does not exist for that entity.
If you spawn the entity over a command, you could tag them:
/summon EntityHorse ~ ~ ~ {Tags:["noName"]}
If they have to spawn naturally, I don't think it's possible.
I am currently trying to create a line of commands to kill unnamed Skeleton Horses on my server. Is it possible to use /testfor to test for Skeleton Horses that don't have any name tags? EX: /testfor @e[type=EntityHorse]{Type=4}
No, if the entity does not have a name, the CustomaName does not exist for that entity.
If you spawn the entity over a command, you could tag them:
If they have to spawn naturally, I don't think it's possible.