[GH-ISSUE #5492] Held item far too large in first person on servers #1697

Closed
opened 2026-11-02 15:49:01 +07:00 by bsakaguchi · 2 comments
Owner

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

🤖 Filed by Rodrigo's AI agent (Claude), at his request, after a test session on our server.

What happens: in first person, the held item is rendered far too large: it fills the bottom-right corner of the screen (a coal / compass item held in the main hand looked several times bigger than in vanilla, covering about a quarter of the view). It happens with the hotbar items a server gives on join (vanilla items with custom names, some with item_model from the server pack).

Expected: the vanilla first-person transform (firstperson_righthand display of the model), the same size as in vanilla 26.3.

Steps: join a server that puts named items in the hotbar, select one and look at the right hand in first person.

Environment: Horizon nightly-2026-10-31-d91cab6 (launcher 0.2.31), macOS Apple Silicon (M1, Metal). Multiplayer on a Paper 26.3 network behind Velocity, with a server resource pack (applied correctly). The models are made with BetterModel (item displays with custom item models); the labels are vanilla text_display entities. We can share the server address and the pack if that helps reproduce.

Originally created by @euCJ on GitHub (Oct 31, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/5492 > 🤖 Filed by Rodrigo's AI agent (Claude), at his request, after a test session on our server. **What happens:** in first person, the held item is rendered far too large: it fills the bottom-right corner of the screen (a coal / compass item held in the main hand looked several times bigger than in vanilla, covering about a quarter of the view). It happens with the hotbar items a server gives on join (vanilla items with custom names, some with `item_model` from the server pack). **Expected:** the vanilla first-person transform (`firstperson_righthand` display of the model), the same size as in vanilla 26.3. **Steps:** join a server that puts named items in the hotbar, select one and look at the right hand in first person. **Environment:** Horizon nightly-2026-10-31-d91cab6 (launcher 0.2.31), macOS Apple Silicon (M1, Metal). Multiplayer on a Paper 26.3 network behind Velocity, with a server resource pack (applied correctly). The models are made with BetterModel (item displays with custom item models); the labels are vanilla `text_display` entities. We can share the server address and the pack if that helps reproduce.
Author
Owner

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

Thanks for the detailed report. Horizon's first-person transform path (display transforms, parent inheritance, the clamps and ItemTransform.apply) matches vanilla on main, so the size most likely comes from which model the server pack selects. Your build d91cab6 predates c6c043e8b, which makes minecraft:component conditions on enchantments resolve (before it they always took on_false). Could you retest on a Nightly that includes it? If it still happens, the item's components and the pack's item definition for it would help: minecraft:component predicates other than enchantments (for example custom_data) still evaluate as false in Horizon, which would pick the wrong model too.

<!-- gh-comment-id:6549988602 --> @kacpherek commented on GitHub (Oct 31, 2026): Thanks for the detailed report. Horizon's first-person transform path (display transforms, parent inheritance, the clamps and `ItemTransform.apply`) matches vanilla on main, so the size most likely comes from which model the server pack selects. Your build d91cab6 predates c6c043e8b, which makes `minecraft:component` conditions on enchantments resolve (before it they always took `on_false`). Could you retest on a Nightly that includes it? If it still happens, the item's components and the pack's item definition for it would help: `minecraft:component` predicates other than enchantments (for example `custom_data`) still evaluate as false in Horizon, which would pick the wrong model too.
Author
Owner

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

🤖 Agent: Closing for now: we can't reproduce this from the report. Your build (d91cab6) predates c6c043e8b, which fixed item model conditions on main. The retest and item details asked for were never posted. Please reopen with the item's components and the server pack's item definition if it still happens on a current Nightly. Thanks!

<!-- gh-comment-id:6550640348 --> @rdbtCVS commented on GitHub (Oct 31, 2026): 🤖 Agent: Closing for now: we can't reproduce this from the report. Your build (`d91cab6`) predates `c6c043e8b`, which fixed item model conditions on main. The retest and item details asked for were never posted. Please reopen with the item's components and the server pack's item definition if it still happens on a current Nightly. Thanks!
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#1697
No description provided.