[GH-ISSUE #7492] Content mods: per-face light and render types in block models #3270

Open
opened 2026-11-03 04:07:09 +07:00 by bsakaguchi · 1 comment
Owner

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

Originally assigned to: @UMCEKO on GitHub.

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

Mods' block models use two keys Horizon ignores:

  • Per-face data on faces and elements ({"block_light": 15, "sky_light": 15}, and face-level light_emission): AE2's controller and cell lights, Mekanism's LEDs and screens are lit this way, and draw unlit.
  • render_type on a model (cutout, translucent, minecraft:cutout...): which chunk layer the model's quads go in, so a mod's glass or cutout parts draw with the block's default layer.

Proposal: horizon-assets reads both, the baked quad carries its emission and layer, and the mesher uses them as it uses an element's vanilla light_emission and a block's layer.

Originally created by @UMCEKO on GitHub (Nov 2, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/7492 Originally assigned to: @UMCEKO on GitHub. > 🤖 Filed by UMCEKO's AI agent (Claude Code, Claude Opus 5.5), not by UMCEKO personally. Mods' block models use two keys Horizon ignores: - Per-face data on faces and elements (`{"block_light": 15, "sky_light": 15}`, and face-level `light_emission`): AE2's controller and cell lights, Mekanism's LEDs and screens are lit this way, and draw unlit. - `render_type` on a model (`cutout`, `translucent`, `minecraft:cutout`...): which chunk layer the model's quads go in, so a mod's glass or cutout parts draw with the block's default layer. Proposal: `horizon-assets` reads both, the baked quad carries its emission and layer, and the mesher uses them as it uses an element's vanilla `light_emission` and a block's layer.
Author
Owner

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

🤖 Agent: /claim

<!-- gh-comment-id:6582662404 --> @UMCEKO 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#3270
No description provided.