Minecraft: /testfor problem

Minecraft: /testfor problem - Man in Black Suit Jacket While Using Laptop

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.






Pictures about "Minecraft: /testfor problem"

Minecraft: /testfor problem - Teacher Helping Students with Computer Problems
Minecraft: /testfor problem - Person in Black Pants and Black Shoes Sitting on Brown Wooden Chair
Minecraft: /testfor problem - Crop unrecognizable female psychologist and patient discussing mental problems during session



Is Testfor still in Minecraft?

You can test for a certain target in the game using the /testfor command in Minecraft. TIP: Starting in Minecraft Java Edition (PC/Mac) 1.13, the /testfor command was removed from the Java Edition version of the game.

What replaced the Testfor command in Minecraft?

The /testfor command became obsolete in Minecraft 1.13, and has been replaced by the /execute command*. It will do the same as typing /testfor @e {SelectedItem:{id:"<item>"}} and then putting a comparator to the command block with the command, and then running the command which you wanna run.



Comparator Testfor Problem fix




Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.

Images: Andrea Piacquadio, Gustavo Fring, cottonbro, SHVETS production