When running a function with the run_function enchantment effect, triggered from the projectile_spawned enchantment effect component, the location at ~ ~ ~ in the function will be 0 0 0 instead of the event location. this might also affect other effect/effect components but this is the one I noticed
Steps to reproduce
Install the attached datapack
enchant a crossbow with example:sonic_boom
go to 0 0 0
fire the crossbow
notice the particles from the function apearing at 0 0 0 instead of the player
Linked issues
Attachments
Comments 2
Thank you for your report!
We're tracking this issue in MC-271477, so this ticket is being resolved and linked as a duplicate.
If you would like to add a vote and any extra information to the main ticket it would be appreciated.
If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
-- I am a bot. This action was performed automatically! The ticket was resolved by one of our moderators, and I left this message to give more information to you.
May duplicate MC-271477