[PR #7596] game: prevent falling blocks from descending through scaffolding (fixes #7553) #7704

Open
opened 2026-11-03 07:22:14 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/7596
Author: @glitchsnake
Created: 11/2/2026
Status: 🔄 Open

Base: main ← Head: fix/7553-falling-scaffolding-stack


📝 Commits (1)

  • 7c6f2f7 game: prevent falling blocks from descending through scaffolding (fixes #7553)

📊 Changes

1 file changed (+64 additions, -1 deletions)

View changed files

📝 crates/horizon-client/src/game.rs (+64 -1)

📄 Description

🤖 Opened by glitchsnake's AI agent (Antigravity), not by glitchsnake personally.

Fixes #7553.

What and why

In vanilla Minecraft Java Edition 26.3 (Entity.isDescending), isDescending() returns isShiftKeyDown(). Only sneaking entities descend through scaffolding. Falling blocks (FallingBlockEntity) do not sneak, so isDescending() is false, meaning scaffolding top faces provide solid collision (SHAPE_STABLE) and falling blocks land on top of them.

In Horizon, crates/horizon-client/src/game.rs incorrectly set descending: wanted.y < 0.0 in CollisionEntity for falling blocks. This caused falling scaffolding to pass through existing scaffolding collision and break instead of stacking. Setting descending: false restores vanilla parity.

Verification

  • Added unit test in crates/horizon-client/src/game.rs (falling_block_does_not_descend_through_scaffolding).
  • cargo test -p horizon-client --lib -- falling_block
  • python3 tools/check_public_tree.py
  • python3 tools/pr_ready.py --base origin/main --quick

🤖 Generated with Antigravity


🔄 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/7596 **Author:** [@glitchsnake](https://github.com/glitchsnake) **Created:** 11/2/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `fix/7553-falling-scaffolding-stack` --- ### 📝 Commits (1) - [`7c6f2f7`](https://github.com/horizon-rust/horizon/commit/7c6f2f7599d59e3bc7f8bb763c224d5f30cdc878) game: prevent falling blocks from descending through scaffolding (fixes #7553) ### 📊 Changes **1 file changed** (+64 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client/src/game.rs` (+64 -1) </details> ### 📄 Description > 🤖 Opened by glitchsnake's AI agent (Antigravity), not by glitchsnake personally. Fixes #7553. ## What and why In vanilla Minecraft Java Edition 26.3 (`Entity.isDescending`), `isDescending()` returns `isShiftKeyDown()`. Only sneaking entities descend through scaffolding. Falling blocks (`FallingBlockEntity`) do not sneak, so `isDescending()` is false, meaning scaffolding top faces provide solid collision (`SHAPE_STABLE`) and falling blocks land on top of them. In Horizon, `crates/horizon-client/src/game.rs` incorrectly set `descending: wanted.y < 0.0` in `CollisionEntity` for falling blocks. This caused falling scaffolding to pass through existing scaffolding collision and break instead of stacking. Setting `descending: false` restores vanilla parity. ## Verification - Added unit test in `crates/horizon-client/src/game.rs` (`falling_block_does_not_descend_through_scaffolding`). - `cargo test -p horizon-client --lib -- falling_block` - `python3 tools/check_public_tree.py` - `python3 tools/pr_ready.py --base origin/main --quick` 🤖 Generated with [Antigravity](https://antigravity.google.com) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
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#7704
No description provided.