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

Enchantment effect "projectile_spawned" doesn't trigger for fishing rods and tridents

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 24w33a
    • 24w18a, 1.21 Pre-Release 2
    • None
    • Confirmed
    • Data Packs, Enchantments
    • Normal
    • Platform

      I've included a datapack that should give a fishing bobber visual fire after it is spawned. This is done with a custom enchantment that runs a function when a projectile is spawned.

      Steps to reproduce

      1. Install the datapack
      2. Give yourself a fishing rod or a trident:
        /enchant @s minecraft:grill
        /give @s trident[minecraft:enchantments={"minecraft:grill":1}]
      3. Cast the rod/throw the trident and see that it isn't on fire

      You can see that the enchantment does indeed work by trying it on a bow

      /give @s bow[minecraft:enchantments={"minecraft:grill":1}]

       

        1. Confirmed (2).mp4
          6.24 MB
          BugTracker

            aalidoust [Mojang] Nightingale
            tholleman tholleman
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: