mojira.dev
MC-264688

Camels with non-player passengers can be tempted

The bug

Camels with non-player passengers can be tempted.

Steps to reproduce

  • Summon a camel-riding husk with the following command:

    /summon minecraft:camel ~ ~ ~ {Passengers:[{id:husk}],SaddleItem:{id:"minecraft:saddle",Count:1b}}
  • Use the following command to summon a villager:

    /summon minecraft:villager ~ ~ ~ {NoAI:1b}}
  • Holding a cactus.

  • Notice that the camel has escaped the control of the husk and is seduced by the cactus.

The following is the control group:

  • Summon a pig-riding husk with the following command:

    /summon minecraft:pig ~ ~1 ~ {Saddle:1b,Passengers:[{id:husk}]}
  • Use the following command to summon a villager:

    /summon minecraft:villager ~ ~ ~ {NoAI:1b}}
  • Holding a carrot.

  • Notice that the pig is not out of the husk's control.

  • The issue only occurs with camels.

Linked issues

Attachments

Comments

No comments.

[Mod]Les3awe

(Unassigned)

Confirmed

Platform

Low

Commands, Mob behaviour

1.20.1, 23w31a, 23w32a, 23w33a, 23w35a, 1.20.2 Pre-release 2, 1.20.2 Release Candidate 1, 1.20.2, 23w40a, 23w41a

Retrieved