[PR #6831] [MERGED] Clear eight renderer rows client-004 calls missing #7122

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

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/6831
Author: @MSedgeMC
Created: 11/2/2026
Status: ✅ Merged
Merged: 11/2/2026
Merged by: @ludovic111

Base: main ← Head: chore/ledger-client-004


📝 Commits (2)

  • 2f7bdf7 Clear three renderer rows client-004 calls missing
  • 001ed69 Correct five more client-004 rows, all implemented in the mob draw path

📊 Changes

1 file changed (+8 additions, -8 deletions)

View changed files

📝 tools/port_map/client-004.tsv (+8 -8)

📄 Description

Eight tools/port_map/client-004.tsv rows said missing for renderer behaviour main has:

  • PhantomRenderer.scale -> mobs/render.rs::species_scale, the Species::Phantom arm: 1 + 0.15 * size, with the model's 1.3125-block offset.
  • StriderRenderer.getShadowRadius and TurtleRenderer.getShadowRadius -> shadows.rs::mob_shadow_radius, which scales a baby's radius by age (0.5 for a strider, 0.3 for a turtle) and then by the renderer's own factor (0.5 and 0.83) - the two constants the rows said were missing.
  • IronGolemRenderer.setupRotations -> mobs/render.rs::base_transform_at's IronGolem branch: the 6.5-degree triangle wave over a 13-block walk phase.
  • PufferfishRenderer.setupRotations -> render.rs::pufferfish_bob / pufferfish_bob_y, the 0.08-block bob.
  • SalmonRenderer, TropicalFishRenderer and SquidRenderer.setupRotations -> mobs/aquatic.rs::rotations, the 4.3-amplitude swim wiggle and flop (cod included) and the body tilt beside the ink vector rotation.

Proven: data file only; each claim is from reading the function named in the row.

Not proven: no in-game check; ledger verdicts, not behaviour changes. OcelotRenderer.extractRenderState, FallingBlockRenderer.shouldRender and LivingEntityRenderer.solveBodyRot in the same file were left alone - I did not confirm them.


🔄 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/6831 **Author:** [@MSedgeMC](https://github.com/MSedgeMC) **Created:** 11/2/2026 **Status:** ✅ Merged **Merged:** 11/2/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `chore/ledger-client-004` --- ### 📝 Commits (2) - [`2f7bdf7`](https://github.com/horizon-rust/horizon/commit/2f7bdf7b2301c585a264aa2816dbf77a75c792a9) Clear three renderer rows client-004 calls missing - [`001ed69`](https://github.com/horizon-rust/horizon/commit/001ed6987e38eecc33f0c94101eca05bee50601a) Correct five more client-004 rows, all implemented in the mob draw path ### 📊 Changes **1 file changed** (+8 additions, -8 deletions) <details> <summary>View changed files</summary> 📝 `tools/port_map/client-004.tsv` (+8 -8) </details> ### 📄 Description Eight `tools/port_map/client-004.tsv` rows said `missing` for renderer behaviour `main` has: - `PhantomRenderer.scale` -> `mobs/render.rs::species_scale`, the `Species::Phantom` arm: `1 + 0.15 * size`, with the model's 1.3125-block offset. - `StriderRenderer.getShadowRadius` and `TurtleRenderer.getShadowRadius` -> `shadows.rs::mob_shadow_radius`, which scales a baby's radius by age (0.5 for a strider, 0.3 for a turtle) and then by the renderer's own factor (0.5 and 0.83) - the two constants the rows said were missing. - `IronGolemRenderer.setupRotations` -> `mobs/render.rs::base_transform_at`'s IronGolem branch: the 6.5-degree triangle wave over a 13-block walk phase. - `PufferfishRenderer.setupRotations` -> `render.rs::pufferfish_bob` / `pufferfish_bob_y`, the 0.08-block bob. - `SalmonRenderer`, `TropicalFishRenderer` and `SquidRenderer.setupRotations` -> `mobs/aquatic.rs::rotations`, the 4.3-amplitude swim wiggle and flop (cod included) and the body tilt beside the ink vector rotation. **Proven:** data file only; each claim is from reading the function named in the row. **Not proven:** no in-game check; ledger verdicts, not behaviour changes. `OcelotRenderer.extractRenderState`, `FallingBlockRenderer.shouldRender` and `LivingEntityRenderer.solveBodyRot` in the same file were left alone - I did not confirm them. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 06:34:18 +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#7122
No description provided.