[PR #5101] [MERGED] Entity and block rendering parity: 7 fixes from the trackers #6073

Closed
opened 2026-11-03 06:11:25 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

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

Base: main ← Head: fix/trackers-rendering


📝 Commits (7)

  • 5896db7 Jitter an angry enderman sideways each frame
  • 37d6e42 Hold a copper golem's item as CopperGolemModel does
  • 0877a0b Show break cracks on a conduit and an enchanting table's book
  • 361c9f9 Draw the item a dolphin carries at its snout
  • 66e3585 Draw the special model of a block display's chest, head or banner
  • 7c0c1f6 Read, save and send a phantom's size
  • 80106eb Light a vex, allay and wither at 15 block light

📊 Changes

11 files changed (+154 additions, -13 deletions)

View changed files

📝 crates/horizon-client-render/src/block_entity_render.rs (+10 -3)
📝 crates/horizon-client/src/entity_nbt.rs (+8 -0)
📝 crates/horizon-client/src/game/creatures.rs (+14 -2)
📝 crates/horizon-client/src/game/lan.rs (+7 -0)
📝 crates/horizon-client/src/game/minecarts.rs (+10 -3)
📝 crates/horizon-client/src/game/mob_blocks.rs (+5 -3)
📝 crates/horizon-client/src/game/remote_mob_data.rs (+4 -1)
📝 crates/horizon-client/src/game/text_displays.rs (+37 -0)
📝 crates/horizon-client/src/mobs/living.rs (+4 -0)
📝 crates/horizon-client/src/mobs/phantom.rs (+11 -0)
📝 crates/horizon-client/src/mobs/render.rs (+44 -1)

📄 Description

What and why

Entity and block rendering fixes from the parity trackers, split out of #4539. One commit per fix, each translated from the vanilla method its message names. Part of #3514 and #3519.

  • Jitter an angry enderman sideways each frame
  • Hold a copper golem's item as CopperGolemModel does
  • Show break cracks on a conduit and an enchanting table's book
  • Draw the item a dolphin carries at its snout
  • Draw the special model of a block display's chest, head or banner
  • Read, save and send a phantom's size
  • Light a vex, allay and wither at 15 block light

Vanilla reference

Each commit message names the vanilla class and method (File.java); each new or changed function opens its doc with the method it ports.

How it was checked

  • Every commit was read against the vanilla source by a second reviewer, and rdbtCVS's review on #4539 is addressed (full flower pot returns CONSUME, the iron golem's dust roll uses the golem's own random, the goat horn has no pickup delay).
  • cargo check -p horizon-client -p horizon-world --tests passes for this branch alone on current main.
  • tools/port_ledger.py check --base origin/main: no new client or seam gaps, no stale citations.
  • Not run in game; run-parity added so the harnesses run.

🔄 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/5101 **Author:** [@kacpherek](https://github.com/kacpherek) **Created:** 10/31/2026 **Status:** ✅ Merged **Merged:** 10/31/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `fix/trackers-rendering` --- ### 📝 Commits (7) - [`5896db7`](https://github.com/horizon-rust/horizon/commit/5896db7b9c61f1212e449743112ca402c8271abf) Jitter an angry enderman sideways each frame - [`37d6e42`](https://github.com/horizon-rust/horizon/commit/37d6e420132a4442f16be9b8e5553a5f89ddc402) Hold a copper golem's item as CopperGolemModel does - [`0877a0b`](https://github.com/horizon-rust/horizon/commit/0877a0b76ae415094f5e7c529d241e5e979ecaa5) Show break cracks on a conduit and an enchanting table's book - [`361c9f9`](https://github.com/horizon-rust/horizon/commit/361c9f9fff25c92d327f3003b9ba59c5f14040cf) Draw the item a dolphin carries at its snout - [`66e3585`](https://github.com/horizon-rust/horizon/commit/66e3585fa828abd39d3a8e8cf503e1b58ff08f15) Draw the special model of a block display's chest, head or banner - [`7c0c1f6`](https://github.com/horizon-rust/horizon/commit/7c0c1f6be3205d9a3dfca42400b321980a98d6c5) Read, save and send a phantom's size - [`80106eb`](https://github.com/horizon-rust/horizon/commit/80106eb50d62aaaac2c7530093870edb24b59e8c) Light a vex, allay and wither at 15 block light ### 📊 Changes **11 files changed** (+154 additions, -13 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client-render/src/block_entity_render.rs` (+10 -3) 📝 `crates/horizon-client/src/entity_nbt.rs` (+8 -0) 📝 `crates/horizon-client/src/game/creatures.rs` (+14 -2) 📝 `crates/horizon-client/src/game/lan.rs` (+7 -0) 📝 `crates/horizon-client/src/game/minecarts.rs` (+10 -3) 📝 `crates/horizon-client/src/game/mob_blocks.rs` (+5 -3) 📝 `crates/horizon-client/src/game/remote_mob_data.rs` (+4 -1) 📝 `crates/horizon-client/src/game/text_displays.rs` (+37 -0) 📝 `crates/horizon-client/src/mobs/living.rs` (+4 -0) 📝 `crates/horizon-client/src/mobs/phantom.rs` (+11 -0) 📝 `crates/horizon-client/src/mobs/render.rs` (+44 -1) </details> ### 📄 Description ## What and why Entity and block rendering fixes from the parity trackers, split out of #4539. One commit per fix, each translated from the vanilla method its message names. Part of #3514 and #3519. - Jitter an angry enderman sideways each frame - Hold a copper golem's item as CopperGolemModel does - Show break cracks on a conduit and an enchanting table's book - Draw the item a dolphin carries at its snout - Draw the special model of a block display's chest, head or banner - Read, save and send a phantom's size - Light a vex, allay and wither at 15 block light ## Vanilla reference Each commit message names the vanilla class and method (`File.java`); each new or changed function opens its doc with the method it ports. ## How it was checked - Every commit was read against the vanilla source by a second reviewer, and rdbtCVS's review on #4539 is addressed (full flower pot returns CONSUME, the iron golem's dust roll uses the golem's own random, the goat horn has no pickup delay). - `cargo check -p horizon-client -p horizon-world --tests` passes for this branch alone on current main. - `tools/port_ledger.py check --base origin/main`: no new `client` or `seam` gaps, no stale citations. - Not run in game; `run-parity` added so the harnesses run. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 06:11:25 +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#6073
No description provided.