mojira.dev
MC-119779

The movement of sitting wolves and cats can be controlled by entities riding them

The Bug:

The movement of sitting wolves and cats can be controlled by entities riding them.

Steps to Reproduce:

  1. 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"}]}
  2. Obtain some bones, tame the wolf, and make it sit.

  3. Switch into survival and wait for the husk riding the wolf to notice and begin pathfinding to you.

  4. 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.

Attachments

Comments 17

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.

/summon wolf ~ ~ ~ {Passengers:[{id:wolf}]}

This also affects cats (Attached image)

Can confirm in 20w48a.

7 more comments

Can confirm in 1.18.2.

Can confirm in 1.19.

Can confirm in 1.19.2.

still in 23w13a and 1.19.4

This issue is still reproducible despite the wolf no longer appearing to visually sit. If you inspect its NBT data, you can see that it is indeed sitting and still able to move despite sitting.

刘舒阳

Avoma

(Unassigned)

Confirmed

Mob behaviour

control, passengers, wolf

Minecraft 1.12, Minecraft 1.12.1 Pre-Release 1, Minecraft 1.12.1, Minecraft 1.13.1, Minecraft 1.13.2, ..., 1.19.2, 1.19.3, 1.19.4, 23w13a, 1.21

Retrieved