[PR #2252] [MERGED] Mobs killed by a wither leave a wither rose #4145

Closed
opened 2026-11-03 04:15:00 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/2252
Author: @kacpherek
Created: 10/26/2026
Status: ✅ Merged
Merged: 10/27/2026
Merged by: @ludovic111

Base: main ← Head: fix/wither-rose-kills


📝 Commits (4)

  • 9c427df Mobs killed by a wither leave a wither rose
  • c50557e Credit the projectile owner for explosion damage to mobs
  • 9c49424 Merge main into fix/wither-rose-kills
  • 2edb519 Merge main into fix/wither-rose-kills (combat: keep hive_emptying_blast and explosion_owner; wither: the skull's owner set around main's hive-emptying blast)

📊 Changes

4 files changed (+62 additions, -3 deletions)

View changed files

📝 crates/horizon-client/src/game/combat.rs (+3 -0)
📝 crates/horizon-client/src/game/creatures.rs (+5 -1)
📝 crates/horizon-client/src/game/explosion.rs (+8 -1)
📝 crates/horizon-client/src/game/wither.rs (+46 -1)

📄 Description

What and why

Mobs killed by a wither left nothing behind. In vanilla they leave a wither rose at their feet. Now a mob whose last attacker was a living wither (and not a player, within the last 100 ticks) gets a wither rose placed where it died if mobGriefing is on and the spot is air where a rose can stand; otherwise the rose drops as an item.

Vanilla reference

  • LivingEntity.die (createWitherRose(getKillCredit()))
  • LivingEntity.createWitherRose
  • WitherRoseBlock.mayPlaceOn

Self-check

cargo check -p horizon-client passes.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/horizon-rust/horizon/pull/2252 **Author:** [@kacpherek](https://github.com/kacpherek) **Created:** 10/26/2026 **Status:** ✅ Merged **Merged:** 10/27/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `fix/wither-rose-kills` --- ### 📝 Commits (4) - [`9c427df`](https://github.com/horizon-rust/horizon/commit/9c427dfae01619b5f02a863fe067990947d267ec) Mobs killed by a wither leave a wither rose - [`c50557e`](https://github.com/horizon-rust/horizon/commit/c50557ea0ba2abb0c1476aa65faf12ee090478c7) Credit the projectile owner for explosion damage to mobs - [`9c49424`](https://github.com/horizon-rust/horizon/commit/9c49424b4d66717aaa81c0a94a0c91b9d20747c6) Merge main into fix/wither-rose-kills - [`2edb519`](https://github.com/horizon-rust/horizon/commit/2edb5193efad6c2a1b5fa5caa41694cb74302a6f) Merge main into fix/wither-rose-kills (combat: keep hive_emptying_blast and explosion_owner; wither: the skull's owner set around main's hive-emptying blast) ### 📊 Changes **4 files changed** (+62 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client/src/game/combat.rs` (+3 -0) 📝 `crates/horizon-client/src/game/creatures.rs` (+5 -1) 📝 `crates/horizon-client/src/game/explosion.rs` (+8 -1) 📝 `crates/horizon-client/src/game/wither.rs` (+46 -1) </details> ### 📄 Description ## What and why Mobs killed by a wither left nothing behind. In vanilla they leave a wither rose at their feet. Now a mob whose last attacker was a living wither (and not a player, within the last 100 ticks) gets a wither rose placed where it died if mobGriefing is on and the spot is air where a rose can stand; otherwise the rose drops as an item. ## Vanilla reference - `LivingEntity.die` (`createWitherRose(getKillCredit())`) - `LivingEntity.createWitherRose` - `WitherRoseBlock.mayPlaceOn` ## Self-check `cargo check -p horizon-client` passes. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 04:15:00 +07:00
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#4145
No description provided.