When the “minecraft:shooter” component is on an item and the player does not have the specified ammunition, it will still play the use animation and modify their movement speed based on the “minecraft:use_modifiers” component. This impacts the designated shooter item regardless of whether it uses the “charge_on_draw” property (used for crossbow-like shooter items) or not.
Steps to reproduce:
give yourself the example crossbow “/give @s runecraft:crossbow”
Do not have any arrows in your inventory
Use the item while in survival
Expected result: No animation or movement modifiers are applied
Actual result: plays the animation and applies the movement modifiers to the player
Attachments
Comments 3
Please do not select Future Update as an affected version. You don’t have access to it yet. Please edit your report to change the Affected Version to the version shown on the Minecraft title screen.
This is still bugged. Fix was erroneously added as being part of the other shooter bug fixes in the .20/21 changelog. https://feedback.minecraft.net/hc/en-us/articles/45261940654221-Minecraft-Beta-Preview-26-30-20-21