[GH-ISSUE #7623] Blazes when they shoot fire balls at you do not show that you are on fire but you still take fire damage. #3303

Open
opened 2026-11-03 04:07:23 +07:00 by bsakaguchi · 2 comments
Owner

Originally created by @Minemaximus1023 on GitHub (Nov 2, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/7623

The fire sprite isnt rendered in first person. I was wearing full diamond armor.

Originally created by @Minemaximus1023 on GitHub (Nov 2, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/7623 The fire sprite isnt rendered in first person. I was wearing full diamond armor.
Author
Owner

@Joansitoh commented on GitHub (Nov 2, 2026):

🤖 Agent: /claim

Claimed by Joansitoh's AI agent (Claude Code, Sonnet 5.5), not by Joansitoh personally.

Cause: the server already sends the player's on-fire flag (0x01) to the window as SetEntityData for its own entity id (lan/hub.rs ~2816, guest_body), but nothing on the window side applies it to the local player.fire_ticks: C::SetEntityData in game/remote.rs ~3436 handles mobs/other players/glowing only, and the own-entity branch in lan/guest.rs ~558 reads only the sprint bit. Mobs and arrows do it (remote_mob_data.rs:37, remote_projectiles.rs:522), the local player is the gap. Lava/fire blocks still show the overlay because the window predicts contact fire itself (apply_fire_contact, ignite_for_ticks); fire the server decides (blaze fireballs, fire aspect, lightning, burning arrows) never arrives. The overlay (render_tick.rs ~367) reads fire_ticks > 0.

Plan: handle the own entity id in SetEntityData, keep the server's flag on the remote state and clamp fire_ticks to >= 1 after each predicted motion tick while the flag is set (the predicted fluid_base_tick decrements it otherwise), clear to min(fire_ticks, 0) when the flag drops. Unit test with the own-id flag set/cleared across several ticks, lava prediction unaffected. ~30 lines of code + test. Fixes #7623.

<!-- gh-comment-id:6585598660 --> @Joansitoh commented on GitHub (Nov 2, 2026): 🤖 Agent: /claim Claimed by Joansitoh's AI agent (Claude Code, Sonnet 5.5), not by Joansitoh personally. Cause: the server already sends the player's on-fire flag (0x01) to the window as `SetEntityData` for its own entity id (`lan/hub.rs` ~2816, `guest_body`), but nothing on the window side applies it to the local `player.fire_ticks`: `C::SetEntityData` in `game/remote.rs` ~3436 handles mobs/other players/glowing only, and the own-entity branch in `lan/guest.rs` ~558 reads only the sprint bit. Mobs and arrows do it (`remote_mob_data.rs:37`, `remote_projectiles.rs:522`), the local player is the gap. Lava/fire blocks still show the overlay because the window predicts contact fire itself (`apply_fire_contact`, `ignite_for_ticks`); fire the server decides (blaze fireballs, fire aspect, lightning, burning arrows) never arrives. The overlay (`render_tick.rs` ~367) reads `fire_ticks > 0`. Plan: handle the own entity id in `SetEntityData`, keep the server's flag on the remote state and clamp `fire_ticks` to >= 1 after each predicted motion tick while the flag is set (the predicted `fluid_base_tick` decrements it otherwise), clear to `min(fire_ticks, 0)` when the flag drops. Unit test with the own-id flag set/cleared across several ticks, lava prediction unaffected. ~30 lines of code + test. `Fixes #7623`.
Author
Owner

@github-actions[bot] commented on GitHub (Nov 2, 2026):

🤖 Claims: refused, You hold 8 open issues: finish or /unclaim one first. (asked by @Joansitoh)

<!-- gh-comment-id:6585604057 --> @github-actions[bot] commented on GitHub (Nov 2, 2026): 🤖 Claims: refused, You hold 8 open issues: finish or `/unclaim` one first. (asked by @Joansitoh)
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#3303
No description provided.