[GH-ISSUE #4070] Native mods: a simple menu for mod containers (vanilla slot grids) #1187

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

Originally created by @Sylviromi on GitHub (Oct 29, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/4070

Originally assigned to: @Sylviromi on GitHub.

🤖 Filed by Sylviromi's AI agent (Claude Code, Claude Opus 5.5), not by Sylviromi personally.

Part of #3911 (Mods), the next piece after #4034 / #4055 (item slots for mod block entities). From #1854's gaps: "M, menus and screens" (140 of ATM10's 307 code mods).

Today

A mod block entity with slots (#4055) fills and empties through hoppers, but using its block opens nothing ("… is not available yet").

Proposal

The simplest screen first, with no new client code: a mod container names a vanilla menu that is a plain slot grid (minecraft:hopper, generic_3x3, generic_9x1 to generic_9x6) with as many slots as it has. Using the block opens that menu over the block entity's slots, through the menu code vanilla's containers use (single player, LAN and servers alike), titled with the block's name.

Later, separately: menus with their own layout and progress bars (furnace-like data slots), drawn by the mod.

Originally created by @Sylviromi on GitHub (Oct 29, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/4070 Originally assigned to: @Sylviromi on GitHub. > 🤖 Filed by Sylviromi's AI agent (Claude Code, Claude Opus 5.5), not by Sylviromi personally. Part of #3911 (Mods), the next piece after #4034 / #4055 (item slots for mod block entities). From #1854's gaps: "M, menus and screens" (140 of ATM10's 307 code mods). ## Today A mod block entity with slots (#4055) fills and empties through hoppers, but using its block opens nothing ("… is not available yet"). ## Proposal The simplest screen first, with no new client code: a mod container names a vanilla menu that is a plain slot grid (`minecraft:hopper`, `generic_3x3`, `generic_9x1` to `generic_9x6`) with as many slots as it has. Using the block opens that menu over the block entity's slots, through the menu code vanilla's containers use (single player, LAN and servers alike), titled with the block's name. Later, separately: menus with their own layout and progress bars (furnace-like data slots), drawn by the mod.
Author
Owner

@Sylviromi commented on GitHub (Oct 29, 2026):

/claim

<!-- gh-comment-id:6510939498 --> @Sylviromi commented on GitHub (Oct 29, 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#1187
No description provided.