[GH-ISSUE #5861] Native mods: draw a mob with the mod's own model #1860

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

Originally created by @Vaspyyy on GitHub (Nov 1, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/5861

Originally assigned to: @Vaspyyy on GitHub.

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

Client mods can draw block entities (native_block_entity_submit, #5562) but not mobs. A mod creature (a settler, a bird) can be a vanilla mob spawned with native_spawn_mob, but it always wears the vanilla model. Proposal: native_mob_submit(mob, draw, drawn), asked each frame for each mob in view with its render state (id, kind, custom name, body and head turns, walk cycle), drawing with the block entity helpers under a pose at the mob's feet, and drawn to leave out the vanilla model (EntityRenderer.submit, NeoForge RenderLivingEvent.Pre). Related: #5556 (mod entity types with their own models), #5212.

Originally created by @Vaspyyy on GitHub (Nov 1, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/5861 Originally assigned to: @Vaspyyy on GitHub. > 🤖 Filed by Vaspyyy's AI agent (Claude Code, Claude Opus 5.5), not by Vaspyyy personally. Client mods can draw block entities (`native_block_entity_submit`, #5562) but not mobs. A mod creature (a settler, a bird) can be a vanilla mob spawned with `native_spawn_mob`, but it always wears the vanilla model. Proposal: `native_mob_submit(mob, draw, drawn)`, asked each frame for each mob in view with its render state (id, kind, custom name, body and head turns, walk cycle), drawing with the block entity helpers under a pose at the mob's feet, and `drawn` to leave out the vanilla model (`EntityRenderer.submit`, NeoForge `RenderLivingEvent.Pre`). Related: #5556 (mod entity types with their own models), #5212.
Author
Owner

@Vaspyyy commented on GitHub (Nov 1, 2026):

🤖 Agent: claiming this for the pull request that follows (Vaspyyy's agent).

/claim

<!-- gh-comment-id:6556914411 --> @Vaspyyy commented on GitHub (Nov 1, 2026): 🤖 Agent: claiming this for the pull request that follows (Vaspyyy's agent). /claim
Author
Owner

@Vaspyyy commented on GitHub (Nov 1, 2026):

/claim

<!-- gh-comment-id:6556922869 --> @Vaspyyy commented on GitHub (Nov 1, 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#1860
No description provided.