When opening the inventory when riding a horse, donkey, mule, llama or camel, the inventory screen for that mob is opened. However, doing the same on a pig or on a strider opens the player inventory screen rather than the pig's/strider's inventory, which does not seem correct at all.
How to reproduce
Ride your mob of choice
Open the inventory
Expected results
You would always enter the mob's inventory.
Actual results
You do not necessarily do so.
How to fix
Make it so that entering the inventory when riding a mob always opens the mob's inventory rather than the player's. This should preferably also be the case for mobs via /ride.
Attachments
Comments 4
Saddles are saved as equipment as of 25w03a so I don't believe the first comment to be valid now.
Still affecting 25w03a.
The method of saving saddles for pigs and striders differs from that of horses, donkeys, mules, skeleton horses, zombie horses, and camels. Instead of occupying an item slot in an inventory, pig and strider saddles are represented solely by a Saddle NBT tag, which can be either 1 or 0. None of the saddle's other NBT data is preserved. Notably, the saddle loses its name when attached to a pig or strider and subsequently killed. This seems intended. The sole benefit of addressing this issue would be the ability to retrieve the saddles from pigs and striders without having to kill them. However, the drawback would be the inability to access your inventory while riding these mobs, resulting in issues like those seen in MC-269234 and MC-19974, among others.