Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-271477

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 24w19a
    • 24w18a
    • None
    • Community Consensus
    • Enchantments
    • Important
    • Platform

      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"

            slicedlime [Mojang] slicedlime
            Rennen_Rig Rennen_Rig
            Votes:
            7 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: