Mojira Archive
MC-195060

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

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