[PR #2344] [MERGED] Swell a creeper's fuse when it falls #4227

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

📋 Pull Request Information

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

Base: main ← Head: fix/creeper-fall-swell


📝 Commits (1)

  • 5657080 Swell a creeper's fuse when it falls

📊 Changes

1 file changed (+5 additions, -0 deletions)

View changed files

📝 crates/horizon-client/src/mobs/living.rs (+5 -0)

📄 Description

What and why

A creeper that fell and landed did not swell. In vanilla a landing adds (int) (fallDistance * 1.5) ticks to the creeper's fuse, capped at 25 (five ticks before it explodes), so a creeper that drops from a height is already hissing when it lands.

cause_fall_damage now adds that to the creeper's swell, before the fall-immunity check (vanilla adds it whether or not the fall hurts).

Vanilla reference

  • Creeper.causeFallDamage: swell += (int) (fallDistance * 1.5), capped at maxSwell - 5 (maxSwell is 30 by default).

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/2344 **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/creeper-fall-swell` --- ### 📝 Commits (1) - [`5657080`](https://github.com/horizon-rust/horizon/commit/5657080884bdbe591797f010571c491fb03d7608) Swell a creeper's fuse when it falls ### 📊 Changes **1 file changed** (+5 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client/src/mobs/living.rs` (+5 -0) </details> ### 📄 Description ## What and why A creeper that fell and landed did not swell. In vanilla a landing adds `(int) (fallDistance * 1.5)` ticks to the creeper's fuse, capped at 25 (five ticks before it explodes), so a creeper that drops from a height is already hissing when it lands. `cause_fall_damage` now adds that to the creeper's swell, before the fall-immunity check (vanilla adds it whether or not the fall hurts). ## Vanilla reference - `Creeper.causeFallDamage`: `swell += (int) (fallDistance * 1.5)`, capped at `maxSwell - 5` (`maxSwell` is 30 by default). ## 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:37 +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#4227
No description provided.