Board Thread:Questions and Answers/@comment-34325507-20180304090543/@comment-28905095-20180304224616

I've not tested my first command, but if you read https://minecraft.gamepedia.com/Commands#execute, you'll see that my first version specifies any player at that given position. If it were supposed to be relative, like you are suggesting, the position would need to be.

The first version might not work due to it requiring the player to be in a specific coordinate set, so either you'll need to specify it a little closer with the, or better of by doing   which defaults to the single closest player. I'm also a little unsure on the second part coordinate with the.

Regarding the second variant, you could also either limit to a number, or exchange the target selector with the. It might also be wise to specify the sphere radius using.

So to repeat my self, either of these should work:



Personally, I think the latter looks like the cleaner option of these two.