Enchantment effect "projectile_spawned" doesn't trigger for fishing rods and tridents
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
- Install the datapack
- Give yourself a fishing rod or a trident:
/enchant @s minecraft:grill
/give @s trident[minecraft:enchantments={"minecraft:grill":1}] - 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}]
2024-05-05, 03:24 PM
2024-07-08, 10:00 AM
2024-07-08, 10:00 AM
1
1