[PR #4121] [CLOSED] Item frames cannot be placed on floors or ceilings #5432

Closed
opened 2026-11-03 05:12:33 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/4121
Author: @Benflex1
Created: 10/30/2026
Status: ❌ Closed

Base: main ← Head: fix/3514-item-frame-face


📝 Commits (1)

  • bb88470 Item frames cannot be placed on floors or ceilings

📊 Changes

1 file changed (+4 additions, -0 deletions)

View changed files

📝 crates/horizon-client/src/game/frames.rs (+4 -0)

📄 Description

Part of #3514.

HangingEntityItem.mayPlace accepts only a non-vertical face, but place_item_frame had no face check, so an item frame could be placed on a floor or ceiling.

Reject a vertical face before the frame is created.

Tested offscreen: a frame places on a wall face and is refused on a bottom face.


🔄 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/4121 **Author:** [@Benflex1](https://github.com/Benflex1) **Created:** 10/30/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `fix/3514-item-frame-face` --- ### 📝 Commits (1) - [`bb88470`](https://github.com/horizon-rust/horizon/commit/bb88470d78b3aa5a23d0f27ddaaad23df90bb445) Item frames cannot be placed on floors or ceilings ### 📊 Changes **1 file changed** (+4 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client/src/game/frames.rs` (+4 -0) </details> ### 📄 Description Part of #3514. `HangingEntityItem.mayPlace` accepts only a non-vertical face, but `place_item_frame` had no face check, so an item frame could be placed on a floor or ceiling. Reject a vertical face before the frame is created. Tested offscreen: a frame places on a wall face and is refused on a bottom face. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 05:12:33 +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#5432
No description provided.