Mojira Archive
MC-272736

The inventory_changed criteria within advancements triggers when you open the inventory while riding entities that replace the player's inventory

If you open your inventory while riding a horse, donkey, mule, zombie horse, skeleton horse, camel or chest boat, it triggers the inventory_changed criteria of advancements despite no change being made to your inventory. This seems to be caused by the fact that riding these entities displays a special inventory and not your own inventory. This issue is related to MC-101084. May also be related to MC-252228.

Steps to reproduce

  1. Install the attached datapack
  2. Ride a chest boat
  3. Open your inventory
  4. Ride one of the listed mobs
  5. Open your inventory

Observed result: The "Inventory changed" message was sent in chat when opening your inventory because you received the advancement. Sometimes you only get the message once, sometimes twice and sometimes 3 times, similar to MC-252228.
Expected result: Opening your inventory should not trigger the inventory_changed criteria, since no changes were made to your inventory.

Invalid

No User

The grandpa of minecraft

2024-05-30, 09:39 PM

2024-06-23, 10:04 AM

2024-06-23, 10:04 AM

0

0

Unconfirmed

(Unassigned)

1.20.6, 1.21 Pre-Release 1

-