mojira.dev
MC-262618

Camels with passengers can have their inventories opened which is inconsistent with other rideable mobs that have inventories

The Bug:

Camels with passengers can have their inventories opened which is inconsistent with other rideable mobs that have inventories.

Steps to Reproduce:

  1. Summon a camel with a passenger by using the command provided below.

    /summon minecraft:camel ~ ~ ~ {Passengers:[{id:"minecraft:husk"}],SaddleItem:{id:"minecraft:saddle",Count:1b}}
  2. Attempt to open the camel's inventory by shifting and right-clicking on the camel.

  3. Take note as to whether or not camels with passengers can have their inventories opened.

Observed Behavior:

Camels with passengers can have their inventories opened which is inconsistent with other rideable mobs that have inventories.

Expected Behavior:

All mobs with passengers that have inventories would be able to or not be able to have their inventories opened.

Linked issues

Attachments

Comments 3

This is a feature request.

How so? It's reporting an inconsistency between camels and horses/llamas; the later 2 can't have their inventory opened when they have a passenger, while camels can.

[Mod]Les3awe

(Unassigned)

Confirmed

Mob behaviour, Player

1.19.4, 1.20 Pre-release 1, 1.20 Pre-release 2, 1.20 Pre-release 3, 1.20 Pre-release 4, ..., 1.20 Pre-release 7, 1.20 Release Candidate 1, 1.20, 1.20.1 Release Candidate 1, 1.20.1

Retrieved