The Bug:
The movement of sitting wolves and cats can be controlled by entities riding them.
Steps to Reproduce:
Summon any entity riding a wolf or cat, for example, a husk riding a wolf by using the command provided below.
/summon minecraft:wolf ~ ~ ~ {Passengers:[{id:"minecraft:husk"}]}
Obtain some bones, tame the wolf, and make it sit.
Switch into survival and wait for the husk riding the wolf to notice and begin pathfinding to you.
Take note as to whether or not the movement of sitting wolves and cats can be controlled by entities riding them.
Observed Behavior:
The movement of sitting wolves and cats can be controlled by entities riding them.
Expected Behavior:
The movement of sitting wolves and cats would not be able to be controlled by entities riding them.
The command you provided spawns the wolf on top of the husk. In this case, the wolf actually cannot be made to sit by right-clicking it. It can be spawned sitting by including
Sitting:1b
.Regardless, these zombies do not attack villagers, as the wolf on top controls the movement. Instead, they move towards their owners.
But all of this is neither here nor there, because a modified command that puts the zombie on top works exactly as you described. 🙂
Ocelots and parrots are also affected.