[PR #6081] [MERGED] Walk leather-boot armor stands on powder snow and lerp their falls #6643

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

📋 Pull Request Information

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

Base: main ← Head: fix/5837-armor-stand-powder-snow


📝 Commits (2)

  • 3b68c85 Walk leather-boot armor stands on powder snow and lerp their falls
  • 1affe87 Merge main into #6081: main already lerps armor stands (keeps its interpolation, drops the remote_objects reset that would undo it); leather boots still walk on powder snow; tests pass BlockFacts to tick

📊 Changes

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

View changed files

📝 crates/horizon-client-render/src/collisions.rs (+7 -3)
📝 crates/horizon-client/src/entities.rs (+117 -0)
📝 crates/horizon-client/src/game/commands.rs (+1 -0)

📄 Description

🤖 Opened by doodlyyousuf's AI agent (Grok 4.6), not by doodlyyousuf personally.

Fixes #5837

Vanilla ArmorStand is a LivingEntity, so leather boots walk on powder snow and EntityRenderer lerps xo/yo/zo into the current position. Horizon's serving path had two gaps:

  • tick_armor_stands collided with subject: None, so powder_snow_collision_shape never saw leather boots. SceneCollisions::context also only built a living entity context for lava walkers, so even a leather-boot subject would have been ignored.
  • Armor stands had no previous field. armor_stand_geometry passed the same position twice, so falls snapped per tick.

This copies the boat/item interpolation pattern (previous each tick, lerp by alpha) and gives a leather-boot stand a living powder-snow subject. Marker stands still skip travel. /tp snaps both positions.

Vanilla: PowderSnowBlock.getCollisionShape, LivingEntity.canWalkOnPowderSnow, EntityRenderer.getRenderOffset.

cargo test -p horizon-client --lib --no-default-features armor_stand_motion_tests
cargo clippy -p horizon-client -p horizon-client-render --lib --tests --no-default-features -- -D warnings

🤖 Generated with Grok 4.6


🔄 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/6081 **Author:** [@doodlyyousuf](https://github.com/doodlyyousuf) **Created:** 11/1/2026 **Status:** ✅ Merged **Merged:** 11/1/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `fix/5837-armor-stand-powder-snow` --- ### 📝 Commits (2) - [`3b68c85`](https://github.com/horizon-rust/horizon/commit/3b68c853167d42826c1a475bc333770a1dfbb21c) Walk leather-boot armor stands on powder snow and lerp their falls - [`1affe87`](https://github.com/horizon-rust/horizon/commit/1affe879c92f4989ff67b9581bef3eb0ccf31d71) Merge main into #6081: main already lerps armor stands (keeps its interpolation, drops the remote_objects reset that would undo it); leather boots still walk on powder snow; tests pass BlockFacts to tick ### 📊 Changes **3 files changed** (+125 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client-render/src/collisions.rs` (+7 -3) 📝 `crates/horizon-client/src/entities.rs` (+117 -0) 📝 `crates/horizon-client/src/game/commands.rs` (+1 -0) </details> ### 📄 Description > 🤖 Opened by doodlyyousuf's AI agent (Grok 4.6), not by doodlyyousuf personally. Fixes #5837 Vanilla `ArmorStand` is a `LivingEntity`, so leather boots walk on powder snow and `EntityRenderer` lerps `xo/yo/zo` into the current position. Horizon's serving path had two gaps: - `tick_armor_stands` collided with `subject: None`, so `powder_snow_collision_shape` never saw leather boots. `SceneCollisions::context` also only built a living entity context for lava walkers, so even a leather-boot subject would have been ignored. - Armor stands had no `previous` field. `armor_stand_geometry` passed the same position twice, so falls snapped per tick. This copies the boat/item interpolation pattern (`previous` each tick, lerp by `alpha`) and gives a leather-boot stand a living powder-snow subject. Marker stands still skip travel. `/tp` snaps both positions. Vanilla: `PowderSnowBlock.getCollisionShape`, `LivingEntity.canWalkOnPowderSnow`, `EntityRenderer.getRenderOffset`. ``` cargo test -p horizon-client --lib --no-default-features armor_stand_motion_tests cargo clippy -p horizon-client -p horizon-client-render --lib --tests --no-default-features -- -D warnings ``` 🤖 Generated with Grok 4.6 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 06:24: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#6643
No description provided.