[PR #2092] [CLOSED] Fire: smoke particles #3997

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

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/2092
Author: @kacpherek
Created: 10/26/2026
Status: ❌ Closed

Base: main ← Head: fix/fire-smoke


📝 Commits (1)

  • 8d0f9e2 Fire: smoke particles as BaseFireBlock.animateTick

📊 Changes

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

View changed files

📝 crates/horizon-client/examples/probe/marker_particles_probe.rs (+1 -0)
📝 crates/horizon-client/src/animate_tick.rs (+54 -3)
📝 crates/horizon-client/src/game/render_tick.rs (+3 -0)
📝 crates/horizon-world/src/level/mod.rs (+4 -0)

📄 Description

What and why

Fire gave off no smoke. Horizon's animate tick for fire and soul fire only played the ambient sound.

Vanilla's BaseFireBlock.animateTick also spawns large smoke every animate tick:

  • a fire on a floor that can burn or has a sturdy top: three puffs in the upper half of the block;
  • otherwise (fire clinging to walls or a ceiling): two puffs against each neighbour that can burn (west, east, north, south, above), within 0.1 of that face.

canBurn is FireBlock.canBurn (ignite odds above zero, never when waterlogged), exposed as Behaviours::can_burn and passed to the animate context. Soul fire's canBurn is always true. The random draws follow vanilla's order, after the ambient sound roll.

Vanilla reference

  • BaseFireBlock.animateTick
  • FireBlock.canBurn, SoulFireBlock.canBurn

Self-check

cargo check -p horizon-client (and the client_probe example) 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/2092 **Author:** [@kacpherek](https://github.com/kacpherek) **Created:** 10/26/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `fix/fire-smoke` --- ### 📝 Commits (1) - [`8d0f9e2`](https://github.com/horizon-rust/horizon/commit/8d0f9e2f0d8597108df285fb681fb57f5bb6695c) Fire: smoke particles as BaseFireBlock.animateTick ### 📊 Changes **4 files changed** (+62 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client/examples/probe/marker_particles_probe.rs` (+1 -0) 📝 `crates/horizon-client/src/animate_tick.rs` (+54 -3) 📝 `crates/horizon-client/src/game/render_tick.rs` (+3 -0) 📝 `crates/horizon-world/src/level/mod.rs` (+4 -0) </details> ### 📄 Description ## What and why Fire gave off no smoke. Horizon's animate tick for fire and soul fire only played the ambient sound. Vanilla's `BaseFireBlock.animateTick` also spawns large smoke every animate tick: - a fire on a floor that can burn or has a sturdy top: three puffs in the upper half of the block; - otherwise (fire clinging to walls or a ceiling): two puffs against each neighbour that can burn (west, east, north, south, above), within 0.1 of that face. `canBurn` is `FireBlock.canBurn` (ignite odds above zero, never when waterlogged), exposed as `Behaviours::can_burn` and passed to the animate context. Soul fire's `canBurn` is always true. The random draws follow vanilla's order, after the ambient sound roll. ## Vanilla reference - `BaseFireBlock.animateTick` - `FireBlock.canBurn`, `SoulFireBlock.canBurn` ## Self-check `cargo check -p horizon-client` (and the `client_probe` example) 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:13:54 +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#3997
No description provided.