Uploaded image for project: 'Minecraft (Bedrock codebase)'
  1. Minecraft (Bedrock codebase)
  2. MCPE-49474

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • None
    • 1.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
    • None
    • Confirmed
    • Windows
    • 237812

      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

            tryashtar [Mod] tryashtar
            Votes:
            6 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: