'/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.
2022-09-29, 08:58 PM
2024-08-28, 04:55 AM
8
4
908002
-