mojira.dev
MCPE-162681

'/execute anchored' applies positional offset for relative (~) coordinates

The bug

When using /execute anchored to change the anchoring context of a command, a positional offset is applied to local coordinates (the ones denoted by carets ^ ^ ^). This offset is also applied to relative coordinates (the ones denoted by tildes ~ ~ ~), which does not match behavior in Java Edition. Attached to this ticket is the same command in both editions.

Steps to reproduce

  • Run the following command in chat:

    /execute anchored eyes run setblock ~ ~ ~ command_block

→❌ Block is placed at eye height, not at the feet.

Attachments

Comments 3

Confirmed for 1.19.51.

A simpler way to test would be just running /execute anchored eyes run setblock ~ ~ ~ command_block in chat, and seeing how it's not placed at feet-height.

Still an issue in 1.19.73 and 1.19.80.24

Thank you for your report!
After consideration, the issue is being closed as Working as Intended.

Please note, that mechanics of the game may change between updates.
Things such as graphics, sounds, world creation, biomes, redstone, villagers, and animals may not work the same in current versions.

Full Version HistorySnapshot Version HistoryFeature Requests and Suggestions

Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki

Sprunkles

(Unassigned)

908002

Confirmed

Windows

vanilla-parity

1.19.60.25 Preview, 1.19.60.22 Preview, 1.19.50.20 Preview, 1.19.40.23 Preview, 1.19.50.24 Preview, 1.19.50, 1.19.51, 1.20.15 Hotfix, 1.20.40.21 Preview

Retrieved