mojira.dev
MC-302200

"minecraft:projectile_spawned" enchantment effect does not trigger when shooting firework rockets from crossbows.

Expected:

The “minecraft:projectile_spawned” enchantment effect triggers on fireworks shot from crossbows, similar to arrows.

Actual:

The “minecraft:projectile_spawned” enchantment effect does not trigger on fireworks shot from crossbows; it only triggers on arrows.

To Reproduce:

  1. Create a datapack with a custom enchantment that includes the “minecraft:projectile_spawned” enchantment effect. Make sure its “supported_items” includes “minecraft:crossbow”.

  2. Leave and re-join the world with this datapack.

  3. Enchant a crossbow with this custom enchantment.

  4. Load the crossbow with a firework and shoot it.

  5. Observe that the “minecraft:projectile_spawned” enchantment effect did not trigger.

  6. Load the crossbow with an arrow and shoot it.

  7. Observe that the “minecraft:projectile_spawned” enchantment effect triggered successfully.

Linked issues

Comments 1

This is already being tracked in MC-278319.

globbylikesslime

(Unassigned)

Unconfirmed

(Unassigned)

1.21.9 Pre-Release 2

Retrieved