[PR #2462] [MERGED] Draw the snow golem's pumpkin and the mooshroom's mushrooms #4339

Closed
opened 2026-11-03 04:16:26 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/2462
Author: @kacpherek
Created: 10/26/2026
Status: ✅ Merged
Merged: 10/27/2026
Merged by: @ludovic111

Base: main ← Head: fix/mob-block-layers


📝 Commits (1)

  • 7b3595b Draw the snow golem's pumpkin and the mooshroom's mushrooms

📊 Changes

3 files changed (+93 additions, -1 deletions)

View changed files

📝 crates/horizon-client/src/game/lan.rs (+14 -0)
📝 crates/horizon-client/src/game/mob_blocks.rs (+73 -1)
📝 crates/horizon-client/src/game/remote_mob_data.rs (+6 -0)

📄 Description

What and why

Snow golems had no pumpkin on their head and mooshrooms had no mushrooms on their back.

  • A snow golem now wears a carved pumpkin until it is sheared.
  • An adult mooshroom now shows three mushrooms (two on the back, one on the head), red or brown by variant.

Both are drawn from the baked block models. A guest or the window on the server thread now gets the data they need: the snow golem's pumpkin flag and the mooshroom's variant are sent and read (they were not synced before, so a brown mooshroom showed as red).

Vanilla reference

  • SnowGolemHeadLayer and SnowGolemRenderer.extractRenderState (hasPumpkin)
  • MushroomCowMushroomLayer and MushroomCowRenderer
  • SnowGolem.DATA_PUMPKIN_ID (index 16, flag 16) and MushroomCow.DATA_TYPE (index 17)

Self-check

cargo check -p horizon-client passes.


🔄 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/2462 **Author:** [@kacpherek](https://github.com/kacpherek) **Created:** 10/26/2026 **Status:** ✅ Merged **Merged:** 10/27/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `fix/mob-block-layers` --- ### 📝 Commits (1) - [`7b3595b`](https://github.com/horizon-rust/horizon/commit/7b3595b8f29cb00d0a29a40a726a1492484566b7) Draw the snow golem's pumpkin and the mooshroom's mushrooms ### 📊 Changes **3 files changed** (+93 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client/src/game/lan.rs` (+14 -0) 📝 `crates/horizon-client/src/game/mob_blocks.rs` (+73 -1) 📝 `crates/horizon-client/src/game/remote_mob_data.rs` (+6 -0) </details> ### 📄 Description ## What and why Snow golems had no pumpkin on their head and mooshrooms had no mushrooms on their back. - A snow golem now wears a carved pumpkin until it is sheared. - An adult mooshroom now shows three mushrooms (two on the back, one on the head), red or brown by variant. Both are drawn from the baked block models. A guest or the window on the server thread now gets the data they need: the snow golem's pumpkin flag and the mooshroom's variant are sent and read (they were not synced before, so a brown mooshroom showed as red). ## Vanilla reference - `SnowGolemHeadLayer` and `SnowGolemRenderer.extractRenderState` (`hasPumpkin`) - `MushroomCowMushroomLayer` and `MushroomCowRenderer` - `SnowGolem.DATA_PUMPKIN_ID` (index 16, flag 16) and `MushroomCow.DATA_TYPE` (index 17) ## Self-check `cargo check -p horizon-client` passes. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 04:16:26 +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#4339
No description provided.