[PR #3605] [MERGED] Render: draw carved pumpkins and mob heads on player and humanoid heads #5089

Closed
opened 2026-11-03 05:10:09 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/3605
Author: @deloskiytbackup
Created: 10/29/2026
Status: ✅ Merged
Merged: 10/29/2026
Merged by: @levzzz5154

Base: main ← Head: fix/pumpkin-head-rendering


📝 Commits (2)

  • eaa5549 Render: draw carved pumpkins and mob heads on player and humanoid heads (#3549)
  • 3d68cb4 Merge main: CustomHeadLayer beside main's player pumpkin (#3584)

📊 Changes

4 files changed (+131 additions, -11 deletions)

View changed files

📝 crates/horizon-client/src/game/creatures.rs (+1 -8)
📝 crates/horizon-client/src/game/mob_blocks.rs (+121 -1)
📝 crates/horizon-client/src/game/perspective.rs (+8 -1)
📝 tools/port_map/client-005.tsv (+1 -1)

📄 Description

Fixes #3549

Summary

Ports CustomHeadLayer.submit for players and humanoid mobs:

  • Renders carved pumpkins, jack o'lanterns, and mob/player heads worn in the head equipment slot on the player model and humanoid mobs.
  • Integrates head_item_geometry into:
    • mob_block_geometry (mobs and other players in the world)
    • player_model_geometry (third-person view)
    • draw_player_preview (inventory/GUI player model preview)
  • Skips armor helmets (which are drawn by HumanoidArmorLayer) and body-slot species (equine, body_slot).
  • Keeps the player model's extra.head and extra.armor synchronized in tick_player_model.
  • Updates tools/port_map/client-005.tsv mapping CustomHeadLayer.submit to port.

Validation

Verified with python3 tools/pr_ready.py:

  • Public tree: pass
  • Python tests: 408 passed
  • rustfmt: pass
  • clippy: pass (-D warnings)
  • tests: horizon-client: 799 passed
  • doc tests: pass

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/horizon-rust/horizon/pull/3605 **Author:** [@deloskiytbackup](https://github.com/deloskiytbackup) **Created:** 10/29/2026 **Status:** ✅ Merged **Merged:** 10/29/2026 **Merged by:** [@levzzz5154](https://github.com/levzzz5154) **Base:** `main` ← **Head:** `fix/pumpkin-head-rendering` --- ### 📝 Commits (2) - [`eaa5549`](https://github.com/horizon-rust/horizon/commit/eaa5549a3b43f3c4a4c42d9e73db908b6225f40a) Render: draw carved pumpkins and mob heads on player and humanoid heads (#3549) - [`3d68cb4`](https://github.com/horizon-rust/horizon/commit/3d68cb4d71d44e820f399635253d6be178767105) Merge main: CustomHeadLayer beside main's player pumpkin (#3584) ### 📊 Changes **4 files changed** (+131 additions, -11 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client/src/game/creatures.rs` (+1 -8) 📝 `crates/horizon-client/src/game/mob_blocks.rs` (+121 -1) 📝 `crates/horizon-client/src/game/perspective.rs` (+8 -1) 📝 `tools/port_map/client-005.tsv` (+1 -1) </details> ### 📄 Description Fixes #3549 ### Summary Ports `CustomHeadLayer.submit` for players and humanoid mobs: - Renders carved pumpkins, jack o'lanterns, and mob/player heads worn in the head equipment slot on the player model and humanoid mobs. - Integrates `head_item_geometry` into: - `mob_block_geometry` (mobs and other players in the world) - `player_model_geometry` (third-person view) - `draw_player_preview` (inventory/GUI player model preview) - Skips armor helmets (which are drawn by `HumanoidArmorLayer`) and body-slot species (`equine`, `body_slot`). - Keeps the player model's `extra.head` and `extra.armor` synchronized in `tick_player_model`. - Updates `tools/port_map/client-005.tsv` mapping `CustomHeadLayer.submit` to `port`. ### Validation Verified with `python3 tools/pr_ready.py`: - Public tree: pass - Python tests: 408 passed - rustfmt: pass - clippy: pass (-D warnings) - tests: horizon-client: 799 passed - doc tests: pass --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 05:10:09 +07:00
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#5089
No description provided.