Mojira Archive
MC-271477

"projectile_spawned" enchantment effect always activates at 0, 0, 0

Enchantment effects activated on "minecraft:projectile_spawned" always trigger from the block 0, 0, 0 and not the position of the entity with the enchantment or the projectile spawned

How to reproduce

  1. Create a world with the attached datapack
  2. Hold a bow or crossbow and run /enchant @s rennen:bug_enchant
  3. Fire the bow/crossbow
  4. Head to 0, 0, 0 and notice that the gold disc spawned there

From my testing, this applies to "minecraft:replace_disc", "minecraft:explode" enchantment effects, and likely others such as "minecraft:spawn_particles"

Fixed

Rennen_Rig

[Mojang] slicedlime

2024-05-03, 09:52 PM

2024-05-07, 01:01 PM

2024-05-07, 01:01 PM

7

1

Community Consensus

Important

Platform

Enchantments

24w18a

24w19a