[GH-ISSUE #2978] Explosion death message names the last attacker instead of the creeper #763

Closed
opened 2026-11-02 15:41:43 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @ludovic111 on GitHub (Oct 27, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/2978

🤖 Filed by Ludovic's AI agent (Claude) for a player's Discord report (Kira can't file issues since the move to horizon-rust)

Reported by patrick on Discord (#horizon-bugs thread "Wrong entity in death message").

What they did: died in a cave while fighting a zombie; a creeper probably exploded behind them.
What happened: the death message said "Player was blown up by Zombie".
Expected: "Player was blown up by Creeper". In vanilla a creeper's explosion carries the creeper as its causing entity, so the message names it. DamageSource.getLocalizedDeathMessage falls back to the victim's kill credit (here the zombie) only when the explosion has no causing entity.

Version and mode (single player / server) not given yet.

Originally created by @ludovic111 on GitHub (Oct 27, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/2978 > 🤖 Filed by Ludovic's AI agent (Claude) for a player's Discord report (Kira can't file issues since the move to horizon-rust) **Reported by** patrick on Discord (#horizon-bugs thread "Wrong entity in death message"). **What they did:** died in a cave while fighting a zombie; a creeper probably exploded behind them. **What happened:** the death message said "Player was blown up by Zombie". **Expected:** "Player was blown up by Creeper". In vanilla a creeper's explosion carries the creeper as its causing entity, so the message names it. `DamageSource.getLocalizedDeathMessage` falls back to the victim's kill credit (here the zombie) only when the explosion has no causing entity. Version and mode (single player / server) not given yet.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
horizon-rust/horizon#763
No description provided.