[GH-ISSUE #5498] Native mods: an entity stepping on, inside or falling on a mod block #1704

Closed
opened 2026-11-02 15:49:04 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @reservedbytes on GitHub (Oct 31, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/5498

Originally assigned to: @Xmilon on GitHub.

Part of #4953

A mod block can't react to entities touching it
Vanilla calls Block.stepOn when an entity walks on a block, entityInside while it overlaps the block's shape, and fallOn when it lands (magma burns, cobwebs slow, hay softens the fall)

What's missing

  • hook points for those three, with the entity, the block's state and position
  • fallOn able to change the fall damage, as hay bales and beds do
Originally created by @reservedbytes on GitHub (Oct 31, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/5498 Originally assigned to: @Xmilon on GitHub. Part of #4953 A mod block can't react to entities touching it Vanilla calls `Block.stepOn` when an entity walks on a block, `entityInside` while it overlaps the block's shape, and `fallOn` when it lands (magma burns, cobwebs slow, hay softens the fall) What's missing - hook points for those three, with the entity, the block's state and position - `fallOn` able to change the fall damage, as hay bales and beds do
Author
Owner

@Xmilon commented on GitHub (Oct 31, 2026):

/claim

<!-- gh-comment-id:6549348590 --> @Xmilon commented on GitHub (Oct 31, 2026): /claim
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#1704
No description provided.