mojira.dev
MC-103617

dy not working properly

I was creating a map when I found this bug. I used this command:
/execute @e[type=ArmorStand] ~ ~ ~ /testfor @a[dx=31,dy=0,dz=31]
But it was possible for me to detect myself when I was one block lower than the armour stand which should not be possible unless I set the dy to -1

Attachments

Comments 2

Delta parameters take into consideration your bounding box. Your head is within the selection area.

You can view bounding boxes by pressing F3+B.

Oh thanks, thought it only counted the buttom part of your body.

Rasmus Bruhn Nielsen

(Unassigned)

Unconfirmed

Minecraft 1.10

Retrieved