mojira.dev
MC-121590

Saddled horses with NoAI are affected by motion when riding them after they have been attacked or pushed

The bug

Saddled horses with NoAI are affected by motion when riding them after they have been attacked or pushed.

How to reproduce

  1. Summon a horse

    /summon minecraft:horse ~ ~ ~ {NoAI:1b,Tame:1b,SaddleItem:{id:"minecraft:saddle",Count:1b}}
  1. Punch it

  2. Mount it
    → ❌ The horse moves in the direction you punched it

Related issues

Comments

FACS01

This bug remains in snapshot 18w07a.
And also, when you ride a horse, a donkey or a mule with saddle and NoAI, it is affected by gravity and falls to the ground.

migrated

Confirmed for 1.13.1 release.

Like @unknown already commented, if you summon a Horse with NoAI e.g. in the air, it will not drop down (= intended), but as soon as you mount it while in the air, it will drop down.
It doesn't matter whether or not it got a saddle, it only has to be tame.

Also, if you set any pitch value and it is saddled, it will lose that pitch value when you mount it, no matter if it was in the air or not.
It will keep its pitch value if it was not saddled though.
Can be tested with:

/summon horse ~ ~ ~ {NoAI:1b,Tame:1b,Variant:0,Rotation:[90F,-90F],SaddleItem:{id:"minecraft:saddle",Count:1b}}

Furthermore, horses with NoAI set to true will still wiggle their tail (WaI?).

Lastly, as long as it is saddled and tame, you can ride a NoAI-horse normally and also make it jump. Unsure whether this could be a keeper though, as it may enable mapmakers to some neat contraptions with a controllable mount that is otherwise non-moving. So before this would be changed, it'd be great if Mojang could discuss this internally, preferrably also with mapmakers.

migrated

Confirmed for 18w49a.

migrated

Relates to MC-107849.

migrated

Confirmed for 19w13b.

migrated

Confirmed for 1.14.2 pre-3.

JUE13

Affects 19w37a

onnowhere

Confirmed 1.15 pre2. You don't need to punch it, it drifts in the direction you look when you ride it.

Avoma

Can confirm in 20w48a.

Avoma

Can confirm in 21w03a.

Avoma

Can confirm in 21w05b.

Avoma

Can confirm in 21w06a.

Avoma

Can confirm in 21w16a.

migrated

Can confirm in 1.17

Avoma

Can confirm in 1.17.1.

Avoma

Can confirm in 1.18.1.

Avoma

Can confirm in 1.18.2.

Avoma

The behavior of this problem has changed, so I've updated this ticket accordingly to reflect the new behavior.

migrated

(Unassigned)

Confirmed

(Unassigned)

NoAI, horse, motion, saddle

Minecraft 1.12.2, Minecraft 17w45b, Minecraft 17w50a, Minecraft 18w05a, Minecraft 18w07a, ..., 1.18.2, 1.19.3, 23w06a, 1.19.4, 1.21.4

Retrieved