Is there a way to test for snowballs that have broken? [duplicate]

I know you can test for arrows in the ground using:

/testfor @e[type=Arrow] {inGround:1b}

But is there a way to test for snowballs that have broken (hit something)?


Solution 1:

Snowball is removed when it hit something(broken), so you can't detect that.

However, you can use a marker entity to mark the location of the snowball, when there are no snowball around the marker entity, that means the snowball is probably broken.

The method i use is this: https://www.reddit.com/r/MinecraftCommands/comments/5tvs8l/teleporting_entities_to_each_player_every_tick/ (see my comment). This works for entities that won't teleport instantly. But you have to work on it a bit to adjust the accuracy(the range of snowball...)