When the “minecraft:use_animation” component is on an item and contains the animation “crossbow” if that items identifier is anything other than “(your namespace:crossbow),” the crossbow animation will not play.
Steps to reproduce:
Give yourself the example crossbow1 “/give @s runecraft:crossbow”
Give yourself example crossbow2 “/give @s runecraft:bowcross”
Give yourself arrows “/give @s arrow 10”
Charge crossbow1/crossbow2 and observe the animation when charging and when charged.
Expected result: The animation for charging crossbow1 and crossbow2 is identical.
Actual result: The animation for crossbow1 with the identifier “crossbow” plays the crossbow loading and charged animations, whereas the animation for crossbow2 defaults to the eating animation and ignores the “minecraft:use_animation” component.
Video showcase: https://youtu.be/dUo69E_psdk