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
- Install the attached datapack
- Ride a chest boat
- Open your inventory
- Ride one of the listed mobs
- 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.
2024-05-30, 09:39 PM
2024-06-23, 10:04 AM
2024-06-23, 10:04 AM
0
0
-