Mojira Archive
MCPE-49474

dx/dy/dz check for feet origin rather than than intersecting hitbox

The bug

The dx, dy, and dz options in selectors are supposed to check if any part of an entity's hitbox intersects with a box region. However, instead they check if the origin point at the entity's feet intersects with the region.

How to reproduce

/execute @p ~ ~1 ~ say @s[dy=1]

Expected results

Player is found

Observed results

Player is not found

Fixed

[Mod] tryashtar

2019-07-25, 12:28 AM

2023-03-17, 03:01 AM

2023-03-17, 03:01 AM

6

1

Confirmed

237812

1.18.10.26 Beta - 1.18.2 Hotfix1.18.10.26 Beta, 1.17.40.23 Beta, 1.17.40.21 Beta, 1.17.20.20 Beta, 1.17.0.50 Beta, 1.16.220, 1.16.0.61 Beta, 1.16.0.51 Beta, 1.14.0.2 Beta, 1.13.0.9 Beta, 1.13.0.4 Beta, 1.13.0.2 Beta, 1.12.0, 1.14.0, 1.16.1, 1.16.210, 1.16.221 Hotfix, 1.17.2 Hotfix, 1.17.30, 1.17.32, 1.18.2 Hotfix

-