[PR #5251] [MERGED] Main builds again: splitscreen audio shares and the stew particles #6164

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

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/5251
Author: @levzzz5154
Created: 10/31/2026
Status: ✅ Merged
Merged: 10/31/2026
Merged by: @ludovic111

Base: main ← Head: fix/audio-share-device-fields


📝 Commits (3)

  • f80c036 Main builds again: a splitscreen share has the device tracker's fields, the stew particles reach served players
  • 5a23ab7 Merge remote-tracking branch 'hr/main' into fix/audio-share-device-fields
  • be7490c Main builds again: the spawn egg test passes the block registry argument

📊 Changes

3 files changed (+25 additions, -3 deletions)

View changed files

📝 crates/horizon-client-render/src/audio.rs (+14 -0)
📝 crates/horizon-client/src/entity_nbt.rs (+2 -2)
📝 crates/horizon-client/src/game/creatures.rs (+9 -1)

📄 Description

🤖 Opened by levzzz5154's AI agent (Claude Code, Claude Opus 5.5), not by levzzz5154 personally.

Main doesn't compile: three pairs of PRs merged today were each written against a main without the other.

  • Audio::share (#3727, splitscreen) builds an Audio without the four device tracking fields #4527 added. A share now copies the first output's last seen devices, and should_change_device returns early for a share: it plays through the first player's output, so it neither probes the devices nor takes the mixer's lost flag from that output.
  • The brown mooshroom's stew particles (#4515) call lan_send_particles with the arguments #4761 replaced by a QueuedParticle. They now send one, as fishing.rs does.
  • A spawn egg test in entity_nbt.rs calls mob_to_nbt and mob_from_nbt without the block registry argument they gained; it passes None, as the other tests do.

Both clippy runs CI does pass (the workspace, and horizon-client without default features).

pr_ready (tools/pr_ready.py --quick --base hr/main, against main at 125a880ee):

Check Result
Scope ✅ 3 files, +25 −3
Cargo.lock ✅ unchanged
Public tree ✅
Python tests ✅ 498 passed (28 s)
rustfmt ✅ (6 s)
clippy ✅
tests: horizon-client, horizon-client-render ✅ 2127 passed (3 min 58 s)
doc tests ✅ 0 passed (2 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 ➖ 119 affected, to run in CI (--quick): ambient_sound, arrow, audio_attributes, auto_jump, block_entity_anim, block_entity_render, block_entity_tickers, block_particles, block_removal, block_tint, block_transformer, breaking_model and 107 more
Label player-facing: feature if players get something new, no label for a fix (release-now if urgent)

🤖 Generated with Claude Code


🔄 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/5251 **Author:** [@levzzz5154](https://github.com/levzzz5154) **Created:** 10/31/2026 **Status:** ✅ Merged **Merged:** 10/31/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `fix/audio-share-device-fields` --- ### 📝 Commits (3) - [`f80c036`](https://github.com/horizon-rust/horizon/commit/f80c0360d3a4219f2a82d255881cbc22c43fd5e4) Main builds again: a splitscreen share has the device tracker's fields, the stew particles reach served players - [`5a23ab7`](https://github.com/horizon-rust/horizon/commit/5a23ab721e0800881cbeb94083f8503f53b248b7) Merge remote-tracking branch 'hr/main' into fix/audio-share-device-fields - [`be7490c`](https://github.com/horizon-rust/horizon/commit/be7490c9ba41f21b9817dc0b25fabed1e48746cd) Main builds again: the spawn egg test passes the block registry argument ### 📊 Changes **3 files changed** (+25 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client-render/src/audio.rs` (+14 -0) 📝 `crates/horizon-client/src/entity_nbt.rs` (+2 -2) 📝 `crates/horizon-client/src/game/creatures.rs` (+9 -1) </details> ### 📄 Description > 🤖 Opened by levzzz5154's AI agent (Claude Code, Claude Opus 5.5), not by levzzz5154 personally. Main doesn't compile: three pairs of PRs merged today were each written against a main without the other. - `Audio::share` (#3727, splitscreen) builds an `Audio` without the four device tracking fields #4527 added. A share now copies the first output's last seen devices, and `should_change_device` returns early for a share: it plays through the first player's output, so it neither probes the devices nor takes the mixer's lost flag from that output. - The brown mooshroom's stew particles (#4515) call `lan_send_particles` with the arguments #4761 replaced by a `QueuedParticle`. They now send one, as `fishing.rs` does. - A spawn egg test in `entity_nbt.rs` calls `mob_to_nbt` and `mob_from_nbt` without the block registry argument they gained; it passes `None`, as the other tests do. Both clippy runs CI does pass (the workspace, and `horizon-client` without default features). **pr_ready** (`tools/pr_ready.py --quick --base hr/main`, against main at 125a880ee): | Check | Result | | --- | --- | | Scope | ✅ 3 files, +25 −3 | | Cargo.lock | ✅ unchanged | | Public tree | ✅ | | Python tests | ✅ 498 passed (28 s) | | rustfmt | ✅ (6 s) | | clippy | ✅ | | tests: horizon-client, horizon-client-render | ✅ 2127 passed (3 min 58 s) | | doc tests | ✅ 0 passed (2 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 | ➖ 119 affected, to run in CI (--quick): ambient_sound, arrow, audio_attributes, auto_jump, block_entity_anim, block_entity_render, block_entity_tickers, block_particles, block_removal, block_tint, block_transformer, breaking_model and 107 more | | Label | player-facing: `feature` if players get something new, no label for a fix (`release-now` if urgent) | 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 06:15:16 +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#6164
No description provided.