mojira.dev
MCPE-229940

local coordinates ^ ^ ^ behaves incorrectly for riding entities

When using local coordinates command ^ ^ ^ on an entity riding a boat or rideable entities, it doesn't work properly.

For example, a villager is on a boat. and run the command “/execute as @e[type=villager] at @s positioned ^ ^ ^10 run setblock ~~~ dirt” it doesn't place the block where the villager is looking at.

Steps To Reproduce The Bug:

  1. Spawn any entity (for example a villager)

  2. Let the entity ride a rideable entity like a boat.

  3. Run the command “/execute as @e[type=(the entity you spawned)] at @s positioned ^ ^ ^10 run setblock ~~~ dirt”

Result:

The dirt block will not be placed at the direction the (entity you spawned) is looking at.

I don't know if this is a bug or intentional.

Attachments

Comments 1

Chawanwit

(Unassigned)

1526241

Confirmed

Windows

1.21.114 Hotfix, 26.21 Hotfix

Retrieved