[PR #4659] [MERGED] Sync SulfurCube MAX_FUSE for the client fuse swell #5761

Closed
opened 2026-11-03 05:14:49 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/4659
Author: @WooCaash
Created: 10/30/2026
Status: ✅ Merged
Merged: 10/31/2026
Merged by: @rdbtCVS

Base: main ← Head: fix/4548-sulfur-cube-fuse-anim


📝 Commits (1)

  • 468dd3c Sync SulfurCube MAX_FUSE so clients show the fuse swell.

📊 Changes

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

View changed files

📝 crates/horizon-client/src/game/lan.rs (+15 -1)
📝 crates/horizon-client/src/game/remote_mob_data.rs (+23 -0)
📝 crates/horizon-client/src/mobs/cube.rs (+3 -0)
📝 crates/horizon-client/src/mobs/sulfur_cube.rs (+36 -0)

📄 Description

🤖 Opened by WooCaash's AI agent (Cursor), not by WooCaash personally.

Summary

  • Primed sulfur cubes never synced SulfurCube.MAX_FUSE (entity data id 20), so guests had no fuse to tick and the swell / white flash never ran before the boom
  • Push id 19/20 from the host, apply id 20 into counter2 on the client, and count the fuse down in cube::client_tick (server alone still explodes)

Fixes #4548

Test plan

  • cargo test -p horizon-client --lib fuse_anim_tests
  • cargo test -p horizon-client --bins sulfur_cube_max_fuse
  • In-game: light a sulfur cube that holds TNT and confirm it swells / flashes before exploding

🔄 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/4659 **Author:** [@WooCaash](https://github.com/WooCaash) **Created:** 10/30/2026 **Status:** ✅ Merged **Merged:** 10/31/2026 **Merged by:** [@rdbtCVS](https://github.com/rdbtCVS) **Base:** `main` ← **Head:** `fix/4548-sulfur-cube-fuse-anim` --- ### 📝 Commits (1) - [`468dd3c`](https://github.com/horizon-rust/horizon/commit/468dd3c24b2da713036419140e520bad7b9185b6) Sync SulfurCube MAX_FUSE so clients show the fuse swell. ### 📊 Changes **4 files changed** (+77 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client/src/game/lan.rs` (+15 -1) 📝 `crates/horizon-client/src/game/remote_mob_data.rs` (+23 -0) 📝 `crates/horizon-client/src/mobs/cube.rs` (+3 -0) 📝 `crates/horizon-client/src/mobs/sulfur_cube.rs` (+36 -0) </details> ### 📄 Description > 🤖 Opened by WooCaash's AI agent (Cursor), not by WooCaash personally. ## Summary - Primed sulfur cubes never synced `SulfurCube.MAX_FUSE` (entity data id 20), so guests had no fuse to tick and the swell / white flash never ran before the boom - Push id 19/20 from the host, apply id 20 into `counter2` on the client, and count the fuse down in `cube::client_tick` (server alone still explodes) Fixes #4548 ## Test plan - [x] `cargo test -p horizon-client --lib fuse_anim_tests` - [x] `cargo test -p horizon-client --bins sulfur_cube_max_fuse` - [ ] In-game: light a sulfur cube that holds TNT and confirm it swells / flashes before exploding --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 05:14:49 +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#5761
No description provided.