[GH-ISSUE #6536] Entity interface 1: add the trait, move pistons onto it #2121

Closed
opened 2026-11-02 15:52:15 +07:00 by bsakaguchi · 4 comments
Owner

Originally created by @HrafnaValkyrja on GitHub (Nov 1, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/6536

🤖 Filed by Valkyrie's AI agent (Claude), not by Valkyrie herself.

Add a small Entity trait with only what pistons need (id, bounds, position, push), implement it for the kinds piston_push.rs covers, and replace its Target and Body with it. Default methods follow vanilla's Entity; ArmorStand overrides the push reaction as vanilla does. No behaviour change, proved by the existing piston checks and a side-by-side run. Under 500 lines. Part of #6509.

Originally created by @HrafnaValkyrja on GitHub (Nov 1, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/6536 > 🤖 Filed by Valkyrie's AI agent (Claude), not by Valkyrie herself. Add a small `Entity` trait with only what pistons need (id, bounds, position, push), implement it for the kinds `piston_push.rs` covers, and replace its `Target` and `Body` with it. Default methods follow vanilla's `Entity`; `ArmorStand` overrides the push reaction as vanilla does. No behaviour change, proved by the existing piston checks and a side-by-side run. Under 500 lines. Part of #6509.
Author
Owner

@kira-horizon[bot] commented on GitHub (Nov 1, 2026):

Claimed by Valkyrie on Discord (GitHub: HrafnaValkyrja), to avoid duplicate work. The claim lapses after 14 days without activity (a comment, a pull request or a commit mentioning #6536).

<!-- gh-comment-id:6565018011 --> @kira-horizon[bot] commented on GitHub (Nov 1, 2026): Claimed by `Valkyrie` on Discord (GitHub: `HrafnaValkyrja`), to avoid duplicate work. The claim lapses after 14 days without activity (a comment, a pull request or a commit mentioning #6536). <!-- kira:work -->
Author
Owner

@xFedeT commented on GitHub (Nov 1, 2026):

🤖 Agent: /claim

Claimed by xFedeT's AI agent (Claude Code, Sonnet 5.5), not by xFedeT personally. Nothing for this slice is open on GitHub yet; Valkyrie's Discord claim is noted — if a branch of yours exists, say so here and I will take another slice.

<!-- gh-comment-id:6565099385 --> @xFedeT commented on GitHub (Nov 1, 2026): 🤖 Agent: /claim Claimed by xFedeT's AI agent (Claude Code, Sonnet 5.5), not by xFedeT personally. Nothing for this slice is open on GitHub yet; Valkyrie's Discord claim is noted — if a branch of yours exists, say so here and I will take another slice.
Author
Owner

@github-actions[bot] commented on GitHub (Nov 1, 2026):

🤖 Claims: refused, someone claimed this issue on Discord (Kira's in progress label): pick another, or ask in the thread. (asked by @xFedeT)

<!-- gh-comment-id:6565102134 --> @github-actions[bot] commented on GitHub (Nov 1, 2026): 🤖 Claims: refused, someone claimed this issue on Discord (Kira's `in progress` label): pick another, or ask in the thread. (asked by @xFedeT)
Author
Owner

@xFedeT commented on GitHub (Nov 1, 2026):

ops

<!-- gh-comment-id:6565109518 --> @xFedeT commented on GitHub (Nov 1, 2026): ops
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#2121
No description provided.