[PR #5997] [MERGED] Move players with opening shulker box lids #6600

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

📋 Pull Request Information

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

Base: main ← Head: fix/shulker-box-player-lift


📝 Commits (1)

  • 12b3159 Apply shulker box lid pushes on the client

📊 Changes

2 files changed (+63 additions, -6 deletions)

View changed files

📝 crates/horizon-client/src/game/block_entity_anims.rs (+13 -6)
📝 tools/lan_e2e.py (+50 -0)

📄 Description

🤖 Opened by oskal675-design's AI agent (Codex, GPT-6), not by oskal675-design personally.

What and why

Opening a shulker box could leave the player inside its lid on the default integrated-server path. The client animated the lid but discarded its swept-volume push and never refreshed the lid's collision snapshot. Apply the existing shulker push after syncing that snapshot, so the player rises with the lid and stays on top while its menu is open.

Fixes #5943. Claimed and assigned before implementation. Changes are limited to the client block-entity ticker and an integrated-server regression scenario.

Kind

  • parity: Horizon now does what vanilla 26.3 does
  • bug: a crash or a breakage
  • perf: faster, or less memory
  • feature: something new for players (listed under New in the release notes)
  • extra: Horizon-only, off by default
  • tooling: tools, CI, tests, harnesses
  • docs

Vanilla reference

Read actual 26.3 ShulkerBoxBlock.getTicker and ShulkerBoxBlockEntity.updateAnimation / moveCollidedEntities with tools/rea_vanilla.py: the ticker runs on both sides, and each opening tick moves intersecting entities by the swept lid extent plus 0.01, using MoverType.SHULKER_BOX. There is no client-only restriction to the local player.

  • python3 tools/test_block_entity_anim_parity.py --filter shulker: 48/48 cases and 2108 ticked steps match the real vanilla block entity, including opening progress and swept push geometry.
  • python3 tools/lan_e2e.py --bin-dir <fixed binaries> --check shulker_lift --check shulker_menu --check piston-push: all three checks pass on the default integrated server, using two real clients in fresh isolated homes. The new check covers host and guest in survival and creative, opening while standing on the box, stable support on the open lid, and lowering when it closes.
  • The new check fails on main at d6e5c5a97: the creative player's feet remain at Y=101.4247999596596 inside the lid whose top is Y=101.5. With the fix, all four player/mode combinations settle exactly at Y=101.5 and return to Y=101.0 on closing.
  • python3 tools/port_ledger.py check --base origin/main: no new gaps or stale citations; removes an existing stale citation in the replaced comment.

Other projects' code

none

Self-check

pr_ready (tools/pr_ready.py --quick on omarchy, against origin/main at d6e5c5a97, 2 min 7 s)

Check Result
Scope ✅ 2 files, +63 −6
Cargo.lock ✅ unchanged
Public tree ✅
Python tests ✅ 515 passed (21 s)
rustfmt ✅ (5 s)
clippy ✅ (1 s)
tests: horizon-client ✅ 1698 passed (1 min 38 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 ➖ 317 affected, to run in CI (--quick): blending, block_removal, block_survival, bundle_weight, camera, canyon_carver, carving_geometry, carving_mask, cauldron, cave_carver, chat_screen, chest_pair and 305 more
Label player-facing: feature if players get something new, no label for a fix (release-now if urgent)

The self-check ran in a network namespace with scratch /tmp: this machine's proxy intercepts TEST-NET addresses, and its usual TMPDIR is under the repository's ignored .local/. The final isolated run passes. --quick lists the broader affected harnesses for CI; the focused native oracle and real-client checks above ran locally.

Screenshots

Before: the creative player's feet remain inside the open lid (Y=101.4247999596596); after: standing on top (Y=101.5).

Observer screenshots were captured locally; the measured positions above provide the before-and-after evidence.

🤖 Generated with Codex.


🔄 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/5997 **Author:** [@oskal675-design](https://github.com/oskal675-design) **Created:** 11/1/2026 **Status:** ✅ Merged **Merged:** 11/1/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `fix/shulker-box-player-lift` --- ### 📝 Commits (1) - [`12b3159`](https://github.com/horizon-rust/horizon/commit/12b31598e2ec911baf75c1304e08737d08ca8bf1) Apply shulker box lid pushes on the client ### 📊 Changes **2 files changed** (+63 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client/src/game/block_entity_anims.rs` (+13 -6) 📝 `tools/lan_e2e.py` (+50 -0) </details> ### 📄 Description > 🤖 Opened by oskal675-design's AI agent (Codex, GPT-6), not by oskal675-design personally. ## What and why Opening a shulker box could leave the player inside its lid on the default integrated-server path. The client animated the lid but discarded its swept-volume push and never refreshed the lid's collision snapshot. Apply the existing shulker push after syncing that snapshot, so the player rises with the lid and stays on top while its menu is open. Fixes #5943. Claimed and assigned before implementation. Changes are limited to the client block-entity ticker and an integrated-server regression scenario. ## Kind - [x] parity: Horizon now does what vanilla 26.3 does - [ ] bug: a crash or a breakage - [ ] perf: faster, or less memory - [ ] feature: something new for players (listed under New in the release notes) - [ ] extra: Horizon-only, off by default - [ ] tooling: tools, CI, tests, harnesses - [ ] docs ## Vanilla reference Read actual 26.3 `ShulkerBoxBlock.getTicker` and `ShulkerBoxBlockEntity.updateAnimation` / `moveCollidedEntities` with `tools/rea_vanilla.py`: the ticker runs on both sides, and each opening tick moves intersecting entities by the swept lid extent plus 0.01, using `MoverType.SHULKER_BOX`. There is no client-only restriction to the local player. - `python3 tools/test_block_entity_anim_parity.py --filter shulker`: 48/48 cases and 2108 ticked steps match the real vanilla block entity, including opening progress and swept push geometry. - `python3 tools/lan_e2e.py --bin-dir <fixed binaries> --check shulker_lift --check shulker_menu --check piston-push`: all three checks pass on the default integrated server, using two real clients in fresh isolated homes. The new check covers host and guest in survival and creative, opening while standing on the box, stable support on the open lid, and lowering when it closes. - The new check fails on main at d6e5c5a97: the creative player's feet remain at Y=101.4247999596596 inside the lid whose top is Y=101.5. With the fix, all four player/mode combinations settle exactly at Y=101.5 and return to Y=101.0 on closing. - `python3 tools/port_ledger.py check --base origin/main`: no new gaps or stale citations; removes an existing stale citation in the replaced comment. ## Other projects' code none ## Self-check **pr_ready** (`tools/pr_ready.py --quick` on omarchy, against origin/main at d6e5c5a97, 2 min 7 s) | Check | Result | | --- | --- | | Scope | ✅ 2 files, +63 −6 | | Cargo.lock | ✅ unchanged | | Public tree | ✅ | | Python tests | ✅ 515 passed (21 s) | | rustfmt | ✅ (5 s) | | clippy | ✅ (1 s) | | tests: horizon-client | ✅ 1698 passed (1 min 38 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 | ➖ 317 affected, to run in CI (--quick): blending, block_removal, block_survival, bundle_weight, camera, canyon_carver, carving_geometry, carving_mask, cauldron, cave_carver, chat_screen, chest_pair and 305 more | | Label | player-facing: `feature` if players get something new, no label for a fix (`release-now` if urgent) | The self-check ran in a network namespace with scratch `/tmp`: this machine's proxy intercepts TEST-NET addresses, and its usual TMPDIR is under the repository's ignored `.local/`. The final isolated run passes. `--quick` lists the broader affected harnesses for CI; the focused native oracle and real-client checks above ran locally. ## Screenshots Before: the creative player's feet remain inside the open lid (Y=101.4247999596596); after: standing on top (Y=101.5). Observer screenshots were captured locally; the measured positions above provide the before-and-after evidence. 🤖 Generated with [Codex](https://openai.com/codex/). --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 06:23: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#6600
No description provided.