Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-270531

Opening the inventory when riding a pig or strider shows the player's inventory rather than the mob's

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.20.4, 24w14a
    • None
    • Confirmed
    • UI

      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

      1. Ride your mob of choice
      2. 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.

        1. 2024-04-08_15.08.05.png
          2024-04-08_15.08.05.png
          91 kB
        2. 2024-04-08_15.08.13.png
          2024-04-08_15.08.13.png
          80 kB
        3. 2024-04-08_15.12.09.png
          2024-04-08_15.12.09.png
          107 kB
        4. 2024-04-08_15.12.20.png
          2024-04-08_15.12.20.png
          115 kB
        5. 2024-04-08_15.12.30.png
          2024-04-08_15.12.30.png
          89 kB
        6. 2024-04-08_15.12.40.png
          2024-04-08_15.12.40.png
          105 kB
        7. 2024-04-08_15.12.51.png
          2024-04-08_15.12.51.png
          86 kB
        8. 2024-04-08_15.13.01.png
          2024-04-08_15.13.01.png
          80 kB

            Unassigned Unassigned
            Awesoman3000 Connor Steppie
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              CHK: