So I was doing a command creation of an Explosive Bow. I was trying to use /testfor to test arrows near me in order to detect them if they are from a different type of bow.
Arrows with score of 1 on score telar
is a teleportation arrow
Arrows with score of 1 on score lhar
is a lightning arrow
So this is my command:
execute @a[score_bow1_min=1,score_bow1a_min=1] ~ ~ ~ testfor @e[r=3,type=Arrow,score_telar_min=0,score_telar=0,score_lhar_min=0,score_lhar=0]
So yeah, that's why I'm here asking, it didn't work well.
It returned this error:
[Current time] Failed to execute testfor @e[r=3,type=Arrow,score_telar_min=0,score_telar=0,score_lhar_min=0,score_lhar=0] as myname
I removed the /execute command and the code returned this error:
[Current Time] testfor @e[r=3,type=Arrow,score_telar_min=0,score_telar=0,score_lhar_min=0,score_lhar=0]
found nothing
Near me was a plain arrow with no scores at all, and I swear I'm inside the specified radius or what is specified in the r
tag.
Please help.