In Java Edition, when a player or tamed mob killed by a player/mob using a spear, the game will shows "<player> was speared by <player/mob>" as death message, this wasn't the case on Bedrock Edition.
Steps to reproduce:
Summon a Husk
Run this command: : /replaceitem entity @e[type=husk] slot.weapon.mainhand 0 netherite_spear
Change your gamemode to survival, and then let the husk kill you
Observe
Expected results:
"<player> was speared by <player/mob>" is shown.
Observed results:
"<player> was slain by <player/mob>" is shown.
Thank you for your report!
After consideration, the issue is being closed as Won't Fix.
Please note that this is not the same as Working as Intended, as this bug report correctly describes behavior in the game that might not be the intended or desirable behavior, but it will not be fixed right now. Sometimes, this is because the issue reported is minor and/or impossible to change without large architectural changes to the code base.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki