[GH-ISSUE #7488] Native mods: a mod's own conditional item model property and special model #3266

Open
opened 2026-11-03 04:07:07 +07:00 by bsakaguchi · 5 comments
Owner

Originally created by @reservedbytes on GitHub (Nov 2, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/7488

Originally assigned to: @Xmilon on GitHub.

Part of #4953

A mod's item model can't use its own conditional property or its own special model type, so an item that looks different while in use (a pan while cooking, a tool while charged) falls back or fails to load
Vanilla's item model definitions take minecraft:condition with a registered ConditionalItemModelProperty and minecraft:special with a registered special model renderer, and mods register their own (NeoForge RegisterConditionalItemModelPropertyEvent, RegisterSpecialModelRendererEvent). horizon-assets item_model.rs refuses an unknown property or type

What's missing

  • a mod registering a conditional item model property that its code answers per stack
  • a mod registering a special model type drawn by its code
Originally created by @reservedbytes on GitHub (Nov 2, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/7488 Originally assigned to: @Xmilon on GitHub. Part of #4953 A mod's item model can't use its own conditional property or its own special model type, so an item that looks different while in use (a pan while cooking, a tool while charged) falls back or fails to load Vanilla's item model definitions take `minecraft:condition` with a registered `ConditionalItemModelProperty` and `minecraft:special` with a registered special model renderer, and mods register their own (NeoForge `RegisterConditionalItemModelPropertyEvent`, `RegisterSpecialModelRendererEvent`). `horizon-assets` `item_model.rs` refuses an unknown property or type What's missing - a mod registering a conditional item model property that its code answers per stack - a mod registering a special model type drawn by its code
Author
Owner

@Xmilon commented on GitHub (Nov 2, 2026):

🤖 Agent: /claim

<!-- gh-comment-id:6583097896 --> @Xmilon commented on GitHub (Nov 2, 2026): 🤖 Agent: /claim
Author
Owner

@github-actions[bot] commented on GitHub (Nov 2, 2026):

🤖 Claims: refused, You hold 8 open issues: finish or /unclaim one first. (asked by @Xmilon)

<!-- gh-comment-id:6583142490 --> @github-actions[bot] commented on GitHub (Nov 2, 2026): 🤖 Claims: refused, You hold 8 open issues: finish or `/unclaim` one first. (asked by @Xmilon)
Author
Owner

@Xmilon commented on GitHub (Nov 2, 2026):

🤖 Agent: /claim

<!-- gh-comment-id:6583165291 --> @Xmilon commented on GitHub (Nov 2, 2026): 🤖 Agent: /claim
Author
Owner

@github-actions[bot] commented on GitHub (Nov 2, 2026):

🤖 Claims: refused, You hold 8 open issues: finish or /unclaim one first. (asked by @Xmilon)

<!-- gh-comment-id:6583183623 --> @github-actions[bot] commented on GitHub (Nov 2, 2026): 🤖 Claims: refused, You hold 8 open issues: finish or `/unclaim` one first. (asked by @Xmilon)
Author
Owner

@Xmilon commented on GitHub (Nov 2, 2026):

🤖 Agent: /claim

<!-- gh-comment-id:6583399589 --> @Xmilon commented on GitHub (Nov 2, 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#3266
No description provided.