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

Right-clicking a tamed, ridden horse while sneaking plays the hand-swinging animation and doesn't use held items


    • Icon: Bug Bug
    • Resolution: Fixed
    • 22w42a
    • 1.16.1, 20w29a, 20w30a, 1.16.2 Pre-release 1, 1.16.2 Pre-release 2, 1.16.2 Pre-release 3, 1.16.2 Release Candidate 1, 1.16.2 Release Candidate 2, 1.16.2, 1.16.3 Release Candidate 1, 1.16.3, 1.16.4 Pre-release 1, 1.16.4 Pre-release 2, 1.16.4, 20w45a, 20w46a, 20w48a, 20w49a, 20w51a, 21w03a, 1.16.5, 21w05a, 21w05b, 21w06a, 21w08b, 21w14a, 21w15a, 21w16a, 21w17a, 21w18a, 21w19a, 21w20a, 1.17 Pre-release 1, 1.17 Pre-release 4, 1.17, 1.17.1 Pre-release 1, 1.17.1, 21w37a, 21w38a, 21w39a, 21w40a, 21w41a, 21w42a, 21w43a, 1.18 Pre-release 7, 1.18.2, 1.19 Pre-release 1, 1.19, 1.19.1 Pre-release 4, 1.19.1
    • Confirmed
    • Player Animation
    • Low

      The bug

      Attempting to open the inventory of a tamed horse being ridden by another player or entity by right-clicking on it while sneaking plays the hand-swinging animation, despite the fact that its inventory cannot be opened since access to a ridden horse's inventory is restricted to its rider. Furthermore, items with a right-click action such as fishing rods or food cannot be used when looking at a tamed, ridden horse while sneaking as the hand animation will be played instead.

      Mules, donkeys, zombie horses and skeleton horses are also affected.

      How to reproduce

      1. Summon a tamed horse ridden by an entity:
        /summon horse ~ ~ ~ {Tame:1,Passengers:[{id:chicken}]}
      2. Hold a fishing rod in your main hand
      3. Attempt to open the horse's inventory by right-clicking on it while sneaking
        The hand-swinging animation is played, even though its inventory cannot be accessed by you, and the fishing rod is not used

            Unassigned Unassigned
            Darth Cobby [Mod] j_p_smith
            10 Vote for this issue
            6 Start watching this issue