The hit_block enchantment effect does not work on arrows, despite working on bows as normal.
Steps to Reproduce
Install the attached data pack.
Run the function
hit_block:give
.Fire the
Explosion
enchanted arrow with a normal, unenchanted bow. It will not explode upon impact.Fire a new (unenchanted) arrow with the
Exbowsion
enchanted bow. The arrow will explode upon impact.
Expected
The two enchantments are identical, so the arrow fired in step 3 should be exploding.
Attachments
Comments 4
If that was the case, effects like projectile_spawned
shouldn't be working, but as it stands now, that effect works with both bows and arrows.
Thank you for your report!
After consideration, the issue is being closed as Invalid.
You have posted a feature request or a suggestion. This site is for bug reports only.
For suggestions, please visit The official Minecraft feedback site or visit the Minecraft Feedback Discord server.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
Enchantment effects only trigger when the enchantment is applied to items the player is using or wearing, not random other items in their inventory that happen to be used as ammunition for the used item. This is not a bug.