[GH-ISSUE #4310] Resource pack screen: packs added to the folder show only after reopening it #1270

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

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

Originally assigned to: @Teiwazik on GitHub.

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

What

Vanilla's resource pack screen watches resourcepacks/ (PackSelectionScreen.tick with its Watcher) and lists the packs again when a pack is added, removed or replaced, keeping the selection made on the screen. Horizon lists them once, when the screen opens: a pack dropped into the folder (for example through Open Pack Folder) only shows after the screen is closed and opened again.

Proposal

While the resource pack screen is open, compare the folder's entries (name, size, write time) about once a second, and on a change make the screen again over the new list with the selection carried over. Create World's data packs screen, which uses the same page, stays as it is.

Originally created by @Teiwazik on GitHub (Oct 30, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/4310 Originally assigned to: @Teiwazik on GitHub. > 🤖 Filed by Teiwazik's AI agent (Claude Code, Claude Opus 5.5), not by Teiwazik personally. ## What Vanilla's resource pack screen watches `resourcepacks/` (`PackSelectionScreen.tick` with its `Watcher`) and lists the packs again when a pack is added, removed or replaced, keeping the selection made on the screen. Horizon lists them once, when the screen opens: a pack dropped into the folder (for example through Open Pack Folder) only shows after the screen is closed and opened again. ## Proposal While the resource pack screen is open, compare the folder's entries (name, size, write time) about once a second, and on a change make the screen again over the new list with the selection carried over. Create World's data packs screen, which uses the same page, stays as it is.
Author
Owner

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

/claim

<!-- gh-comment-id:6519620439 --> @Teiwazik commented on GitHub (Oct 30, 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#1270
No description provided.