mojira.dev
MC-300775

After firing an arrow which was equipped in an armor or saddle slot, the player can draw back bows and crossbows despite lacking ammunition until they relog

Equipping an arrow as armour or a saddle allows you to shoot the arrow from that slot. Attempting to shoot after that will show the bow’s drawing animation, but releasing will not fire anything unless you have more arrows in your inventory.

Reloading the world without any arrows equipped fixes the issue.

Replication:

  1. Give yourself an equippable arrow and equip it by using it.

    1. /give @s minecraft:arrow[minecraft:equippable={slot:"body"}] for example

  2. Give yourself a bow and attempt to fire it by using it.

  3. The first shot will fire the arrow from the armour slot you equipped it to.

    1. This can be verified by collecting the arrow and re-equipping it.

  4. Attempt to fire another arrow.

    1. The draw animation will play, but releasing the button will not fire anything.

Attachments

Comments 1

Can confirm in 1.21.8 aswell, and not only the body slot, doing the same thing for any armor slot for players results in the same thing

Squid Eevee

(Unassigned)

Confirmed

Platform

Low

Commands, Networking

1.21.8, 25w32a, 25w33a, 25w35a

Retrieved