[PR #4761] [MERGED] Tidy the native particle queue #5833

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

📋 Pull Request Information

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

Base: main ← Head: tidy-native-particle-queue


📝 Commits (1)

  • 45f155e Tidy native particle queue

📊 Changes

5 files changed (+63 additions, -64 deletions)

View changed files

📝 crates/horizon-client/src/game.rs (+19 -19)
📝 crates/horizon-client/src/game/creatures.rs (+2 -11)
📝 crates/horizon-client/src/game/fishing.rs (+6 -6)
📝 crates/horizon-client/src/game/lan_particles.rs (+25 -25)
📝 crates/horizon-client/src/game/native_hooks.rs (+11 -3)

📄 Description

🤖 Opened by Aria's agent swarm, Dyna, not by Aria.

Closes #4745.

Replace the queued particle tuple with a named request, and pass that request to the existing dispatcher. This removes the argument-count lint suppression without changing delivery. Move the misplaced native-helper documentation to its matching implementation.

Checks

  • On exact head 45f155e80138e3ad7962ce4555ef1ffd3c1bcaf9, 24 native tests and scoped clippy passed.
  • A throwaway native mod emitted flame and block particles in a server-thread game. Both host and guest counters increased. A dedicated-server guest received both types too (0 to 32 each). Audio was disabled and fresh game data was used.
  • This is an internal cleanup, with no new NeoForge counterpart.

pr_ready (tools/pr_ready.py --quick --base HEAD^ on hermeslab, against HEAD^ at ce12bd5b6, 2 min 0 s)

Check Result
Scope ✅ 5 files, +63 −64
Cargo.lock ✅ unchanged
Public tree ✅
Python tests ✅ 481 passed (26 s)
rustfmt ✅ (6 s)
clippy ✅ (59 s)
tests: horizon-client ✅ 1205 passed (28 s)
doc tests ✅ 0 passed (1 s)
content root tests ➖ content root untouched
tokens.css up to date ➖ theme untouched
launcher rustfmt ➖ launcher untouched
launcher clippy ➖ launcher untouched
launcher tests ➖ launcher untouched
Parity ➖ not run (--quick): CI's parity job picks the affected harnesses
Label player-facing: feature if players get something new, no label for a fix (release-now if urgent)

🤖 Generated with Dyna


🔄 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/4761 **Author:** [@arismoko](https://github.com/arismoko) **Created:** 10/30/2026 **Status:** ✅ Merged **Merged:** 10/31/2026 **Merged by:** [@rdbtCVS](https://github.com/rdbtCVS) **Base:** `main` ← **Head:** `tidy-native-particle-queue` --- ### 📝 Commits (1) - [`45f155e`](https://github.com/horizon-rust/horizon/commit/45f155e80138e3ad7962ce4555ef1ffd3c1bcaf9) Tidy native particle queue ### 📊 Changes **5 files changed** (+63 additions, -64 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client/src/game.rs` (+19 -19) 📝 `crates/horizon-client/src/game/creatures.rs` (+2 -11) 📝 `crates/horizon-client/src/game/fishing.rs` (+6 -6) 📝 `crates/horizon-client/src/game/lan_particles.rs` (+25 -25) 📝 `crates/horizon-client/src/game/native_hooks.rs` (+11 -3) </details> ### 📄 Description > 🤖 Opened by Aria's agent swarm, Dyna, not by Aria. Closes #4745. Replace the queued particle tuple with a named request, and pass that request to the existing dispatcher. This removes the argument-count lint suppression without changing delivery. Move the misplaced native-helper documentation to its matching implementation. ## Checks - On exact head `45f155e80138e3ad7962ce4555ef1ffd3c1bcaf9`, 24 native tests and scoped clippy passed. - A throwaway native mod emitted flame and block particles in a server-thread game. Both host and guest counters increased. A dedicated-server guest received both types too (0 to 32 each). Audio was disabled and fresh game data was used. - This is an internal cleanup, with no new NeoForge counterpart. **pr_ready** (`tools/pr_ready.py --quick --base HEAD^` on hermeslab, against HEAD^ at ce12bd5b6, 2 min 0 s) | Check | Result | | --- | --- | | Scope | ✅ 5 files, +63 −64 | | Cargo.lock | ✅ unchanged | | Public tree | ✅ | | Python tests | ✅ 481 passed (26 s) | | rustfmt | ✅ (6 s) | | clippy | ✅ (59 s) | | tests: horizon-client | ✅ 1205 passed (28 s) | | doc tests | ✅ 0 passed (1 s) | | content root tests | ➖ content root untouched | | tokens.css up to date | ➖ theme untouched | | launcher rustfmt | ➖ launcher untouched | | launcher clippy | ➖ launcher untouched | | launcher tests | ➖ launcher untouched | | Parity | ➖ not run (--quick): CI's parity job picks the affected harnesses | | Label | player-facing: `feature` if players get something new, no label for a fix (`release-now` if urgent) | 🤖 Generated with Dyna --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 05:15:18 +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#5833
No description provided.