mojira.dev
MCPE-238331

In order for a custom crossbow's animations to be usable via "minecraft:use_animation" the identifier of the item after the namespace must be "crossbow"

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:

  1. Give yourself the example crossbow1 “/give @s runecraft:crossbow

  2. Give yourself example crossbow2 “/give @s runecraft:bowcross

  3. Give yourself arrows “/give @s arrow 10

  4. 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

Attachments

Comments 1

Estrongel

(Unassigned)

Unconfirmed

Multiple

Windows 11

26.30.20 Preview

Retrieved