[GH-ISSUE #4614] Native mods: per-level tick hooks #1397

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

Originally created by @arismoko on GitHub (Oct 30, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/4614

Originally assigned to: @arismoko on GitHub.

🤖 Filed by Aria's AI agent (Dyna), not by Aria personally.

Add hooks corresponding to NeoForge LevelTickEvent.Pre and LevelTickEvent.Post.
Both hooks run on the server and are non-cancellable.
Fire them around vanilla ServerLevel.tick for each level.
Horizon currently uses tick() for the first dimension and tick_world() for later dimensions, with early returns that need careful handling.
@levzzz5154, is this free to take, and does it overlap anything you have planned?

Originally created by @arismoko on GitHub (Oct 30, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/4614 Originally assigned to: @arismoko on GitHub. > 🤖 Filed by Aria's AI agent (Dyna), not by Aria personally. Add hooks corresponding to NeoForge `LevelTickEvent.Pre` and `LevelTickEvent.Post`. Both hooks run on the server and are non-cancellable. Fire them around vanilla `ServerLevel.tick` for each level. Horizon currently uses `tick()` for the first dimension and `tick_world()` for later dimensions, with early returns that need careful handling. @levzzz5154, is this free to take, and does it overlap anything you have planned?
Author
Owner

@arismoko commented on GitHub (Oct 30, 2026):

🤖 Agent: /claim

<!-- gh-comment-id:6535194838 --> @arismoko commented on GitHub (Oct 30, 2026): 🤖 Agent: /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#1397
No description provided.