[PR #5888] [MERGED] Extras: hide block-break particles #6541

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

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/5888
Author: @Joansitoh
Created: 11/1/2026
Status: ✅ Merged
Merged: 11/1/2026
Merged by: @ludovic111

Base: main ← Head: fix/5698-hide-break-particles


📝 Commits (5)

  • 5cd320b Extras: hideBlockParticles hides block-break particles
  • ad462ed fmt
  • d3fe279 docs: list hideBlockParticles in the extras intro
  • 502ffb1 Merge main into fix/5698-hide-break-particles (hideBlockParticles beside main's splitscreen)
  • dc10508 Merge main into fix/5698-hide-break-particles (beside uiSoundReserve)

📊 Changes

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

View changed files

📝 crates/horizon-client-render/src/extras.rs (+25 -3)
📝 crates/horizon-client/src/game.rs (+6 -0)
📝 docs/extras.md (+8 -1)

📄 Description

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

Adds the Horizon extra Hide block-break particles (hideBlockParticles, off by default, so the vanilla look is unchanged). When on, destroy_particles (vanilla ClientLevel.addDestroyBlockEffect) and crack_particle (addBreakingParticles) return early; every other particle is untouched. Client-only. New row under a "Particles" header on the Extras page, plus a section in docs/extras.md.

Tested: extras unit tests (default off, parse/serialize round trip, switch/cycle toggle, single-key parse); python3 tools/parity.py block_particles passes.

Not green, not caused by this PR: gfx::frame_gen::interpolation::tests::moves_the_view_halfway_with_the_camera fails (0.28009704 against 0.28004465 and 0.2801672), including when run alone. This diff doesn't touch that code.

Remaining affected harnesses: run by CI's parity job.

pr_ready (tools/pr_ready.py --quick --base upstream/main on tiffany, against upstream/main at bb03a6b2e, 6 min 18 s)

Check Result
Scope ✅ 3 files, +42 −6
Cargo.lock ✅ unchanged
Public tree ✅
Python tests ✅ 515 passed (38 s)
rustfmt ✅ (10 s)
clippy ✅ (55 s)
tests: horizon-client, horizon-client-render ❌ 2501 passed, 1 failed (4 min 14 s)
doc tests ✅ 0 passed (4 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 ➖ 117 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 105 more
Label player-facing: feature if players get something new, no label for a fix (release-now if urgent)

Fixes #5698

🤖 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/5888 **Author:** [@Joansitoh](https://github.com/Joansitoh) **Created:** 11/1/2026 **Status:** ✅ Merged **Merged:** 11/1/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `fix/5698-hide-break-particles` --- ### 📝 Commits (5) - [`5cd320b`](https://github.com/horizon-rust/horizon/commit/5cd320b24ca99b31d706f5b99f14dd6d1e7b8110) Extras: hideBlockParticles hides block-break particles - [`ad462ed`](https://github.com/horizon-rust/horizon/commit/ad462ede2905d736c77e76250b6f5dce03543a4c) fmt - [`d3fe279`](https://github.com/horizon-rust/horizon/commit/d3fe2797d9ba3518f90aff598aed6232144bf881) docs: list hideBlockParticles in the extras intro - [`502ffb1`](https://github.com/horizon-rust/horizon/commit/502ffb18e0692f3b9b456dbce9711841be352533) Merge main into fix/5698-hide-break-particles (hideBlockParticles beside main's splitscreen) - [`dc10508`](https://github.com/horizon-rust/horizon/commit/dc105082c272cab11629169f6d10e8a686f87b5a) Merge main into fix/5698-hide-break-particles (beside uiSoundReserve) ### 📊 Changes **3 files changed** (+39 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client-render/src/extras.rs` (+25 -3) 📝 `crates/horizon-client/src/game.rs` (+6 -0) 📝 `docs/extras.md` (+8 -1) </details> ### 📄 Description > 🤖 Opened by Joansitoh's AI agent (Claude Code, Sonnet 5.5), not by Joansitoh personally. Adds the Horizon extra **Hide block-break particles** (`hideBlockParticles`, off by default, so the vanilla look is unchanged). When on, `destroy_particles` (vanilla `ClientLevel.addDestroyBlockEffect`) and `crack_particle` (`addBreakingParticles`) return early; every other particle is untouched. Client-only. New row under a "Particles" header on the Extras page, plus a section in `docs/extras.md`. **Tested:** extras unit tests (default off, parse/serialize round trip, switch/cycle toggle, single-key parse); `python3 tools/parity.py block_particles` passes. Not green, not caused by this PR: `gfx::frame_gen::interpolation::tests::moves_the_view_halfway_with_the_camera` fails (0.28009704 against 0.28004465 and 0.2801672), including when run alone. This diff doesn't touch that code. Remaining affected harnesses: run by CI's parity job. **pr_ready** (`tools/pr_ready.py --quick --base upstream/main` on tiffany, against upstream/main at bb03a6b2e, 6 min 18 s) | Check | Result | | --- | --- | | Scope | ✅ 3 files, +42 −6 | | Cargo.lock | ✅ unchanged | | Public tree | ✅ | | Python tests | ✅ 515 passed (38 s) | | rustfmt | ✅ (10 s) | | clippy | ✅ (55 s) | | tests: horizon-client, horizon-client-render | ❌ 2501 passed, 1 failed (4 min 14 s) | | doc tests | ✅ 0 passed (4 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 | ➖ 117 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 105 more | | Label | player-facing: `feature` if players get something new, no label for a fix (`release-now` if urgent) | Fixes #5698 🤖 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:22:38 +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#6541
No description provided.