[PR #2510] [MERGED] Draw the smoke trail behind wither skulls and fireballs, and the wither's head smoke on a client #4382

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

📋 Pull Request Information

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

Base: main ← Head: fix/projectile-smoke-trail


📝 Commits (1)

  • 00e1517 Draw the smoke trail behind wither skulls and fireballs, and the wither's head smoke on a client

📊 Changes

4 files changed (+52 additions, -1 deletions)

View changed files

📝 crates/horizon-client/src/game/creatures.rs (+6 -0)
📝 crates/horizon-client/src/game/remote.rs (+17 -0)
📝 crates/horizon-client/src/game/remote_projectiles.rs (+28 -0)
📝 crates/horizon-client/src/mobs/wither.rs (+1 -1)

📄 Description

What and why

Wither skulls, ghast fireballs and blaze fireballs flew without any smoke behind them. Vanilla puts one smoke puff half a block above the projectile every tick. This adds that trail for the in-frame game (host, single player without the server thread) and for a client of a server (server thread and LAN guests).

The wither's head smoke is drawn on the client as well. Until now it only came from the server's mob events, so a window that is a client of a server never showed it. The three heads get one smoke puff each per tick, offset by a gaussian of 0.3 like vanilla.

Vanilla reference

  • AbstractHurtingProjectile.tick ends with createParticleTrail, which adds getTrailParticle() (SMOKE by default) at y + 0.5. Only DragonFireball (dragon breath, already handled) and the wind charges (none) override it.
  • WitherBoss.aiStep: SMOKE around each head, with no client check.

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/2510 **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/projectile-smoke-trail` --- ### 📝 Commits (1) - [`00e1517`](https://github.com/horizon-rust/horizon/commit/00e15171d5ffd2ebb8f26ff823489f62ae8cb1ac) Draw the smoke trail behind wither skulls and fireballs, and the wither's head smoke on a client ### 📊 Changes **4 files changed** (+52 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client/src/game/creatures.rs` (+6 -0) 📝 `crates/horizon-client/src/game/remote.rs` (+17 -0) 📝 `crates/horizon-client/src/game/remote_projectiles.rs` (+28 -0) 📝 `crates/horizon-client/src/mobs/wither.rs` (+1 -1) </details> ### 📄 Description ## What and why Wither skulls, ghast fireballs and blaze fireballs flew without any smoke behind them. Vanilla puts one smoke puff half a block above the projectile every tick. This adds that trail for the in-frame game (host, single player without the server thread) and for a client of a server (server thread and LAN guests). The wither's head smoke is drawn on the client as well. Until now it only came from the server's mob events, so a window that is a client of a server never showed it. The three heads get one smoke puff each per tick, offset by a gaussian of 0.3 like vanilla. ## Vanilla reference - `AbstractHurtingProjectile.tick` ends with `createParticleTrail`, which adds `getTrailParticle()` (SMOKE by default) at `y + 0.5`. Only `DragonFireball` (dragon breath, already handled) and the wind charges (none) override it. - `WitherBoss.aiStep`: SMOKE around each head, with no client check. ## 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:16:45 +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#4382
No description provided.