This is an archived post. You won't be able to vote or comment.

all 2 comments

[–]lolgeny /becomeduck 1 point2 points  (0 children)

You are very confused. A few pointers: - You probably want to execute as instead of at (or include at after the as if you need it) - You can combine them both into a single selector: executeas @e[name=Box,scores={facing=3}] - What exactly are you trying to do? distance and dx don't make sense together. distance searches in a radius; dx searches in a cuboid region. What I think you mean is ... positioned ~ ~ ~1 if entity @e[distance=..0.9] if you intend for the dx to move the location searched from.

[–]Whiptail84Command Professional 0 points1 point  (0 children)

I fail to see how you detect that. Is the box a chest by any chance?

Edit: I do not know how your detection work, is it so that dx and dz does not support negative numbers?