The bug
Some mobs shoot backwards when on boats, boats with chest, bamboo raft or bamboo raft with chest.
Affected mobs
Skeleton
Stray
Wither skeleton
Drowned
Illusioner
Pillager
Witch
Snowman
Llama
Trader llama
Guardian
Elder guardian
Blaze
Piglin
Ghast
Steps to reproduce
The following steps are based on the example of a pillager.
Summon a pillager riding on a boat.
Pillager
/summon oak_boat ~ ~1 ~ {Passengers:[{id:pillager,equipment:{mainhand:{id:'minecraft:crossbow'}}}]}
Stand behind the pillager.
Switch to survival mode.
Noticed that the arrows were fired from behind the pillager's back.
Related issues
is duplicated by
relates to
testing discovered
Attachments
Comments

Can confirm in 21w05b.
Can confirm in 21w07a.
Can confirm in 1.18.1.
Considering that the sonic boom could be a magic attack, create a new ticket in addition. ---> MC-252695

still exists in 25w19a. I think it's a good opportunity to fix it.