Merge pull request #13928 from MSedgeMC/port_map/minecart-hurt-tilt

🤖 Agent: confirmed on main against AbstractMinecartRenderer.submit: the offsetSeed jitter (×0.004 per axis) and the sin(hurt)·hurt·damage/10·hurtDir roll with partial-tick hurt and damage are both in cart_geometry.
This commit is contained in:
Ludovic Marie authored and GitHub committed 2026-11-09 16:31:37 +01:00
commit 8321f11360
1 file changed
+1 -1
+1 -1
View File
@@ -92,7 +92,7 @@ AbstractCubeMobRenderer.applySizeAndSquish port crates/horizon-client/src/mobs/c
AbstractCubeMobRenderer.extractRenderState port crates/horizon-client/src/mobs/cube.rs::scale squish and size are read from the mob at draw time
AbstractHoglinRenderer.extractRenderState port crates/horizon-client/src/mobs/piglin.rs::hoglin_anim the headbutt count (anim_ticks) drives the head pose
AbstractHorseRenderer.extractRenderState port crates/horizon-client/src/mobs/equine.rs::anim eat, stand and mouth poses; saddle and armour come from render.rs layers
AbstractMinecartRenderer.submit port crates/horizon-client/src/game/minecarts.rs::Game::cart_geometry gap: player: no hurt tilt when a cart is hit (hurt_time is not read here); minor: no per-cart offset jitter
AbstractMinecartRenderer.submit port crates/horizon-client/src/game/minecarts.rs::Game::cart_geometry the seat follows the jittered, pitched cart (per-cart offset jitter) and a hurt tilt rotates it by sin(hurt) * hurt * damage / 10 * hurt_dir
AbstractMinecartRenderer.newRender port crates/horizon-client/src/game/minecarts.rs::Game::cart_geometry the new path's seat translation after the yaw/pitch rotation, drawn when `minecart_improvements()` is on or a lerp is queued
AbstractMinecartRenderer.oldRender port crates/horizon-client/src/game/minecarts.rs::Game::cart_geometry rail-based draw is the path Horizon has
AbstractMinecartRenderer.newExtractState port crates/horizon-client/src/game/remote.rs::Game::remote_minecart_lerp the cart's position and rotation sampled at the frame's partial tick from the steps a NewMinecartBehavior cart has queued; None when the cart has no lerp, and the renderer then keeps the entity's own interpolated position and rotation
1 ServerData.write port crates/horizon-protocol/src/servers.rs::ServerEntry::to_tag writes name, ip, icon, acceptTextures and acceptedCodeOfConduct when it is not 0
92 AbstractCubeMobRenderer.extractRenderState port crates/horizon-client/src/mobs/cube.rs::scale squish and size are read from the mob at draw time
93 AbstractHoglinRenderer.extractRenderState port crates/horizon-client/src/mobs/piglin.rs::hoglin_anim the headbutt count (anim_ticks) drives the head pose
94 AbstractHorseRenderer.extractRenderState port crates/horizon-client/src/mobs/equine.rs::anim eat, stand and mouth poses; saddle and armour come from render.rs layers
95 AbstractMinecartRenderer.submit port crates/horizon-client/src/game/minecarts.rs::Game::cart_geometry gap: player: no hurt tilt when a cart is hit (hurt_time is not read here); minor: no per-cart offset jitter the seat follows the jittered, pitched cart (per-cart offset jitter) and a hurt tilt rotates it by sin(hurt) * hurt * damage / 10 * hurt_dir
96 AbstractMinecartRenderer.newRender port crates/horizon-client/src/game/minecarts.rs::Game::cart_geometry the new path's seat translation after the yaw/pitch rotation, drawn when `minecart_improvements()` is on or a lerp is queued
97 AbstractMinecartRenderer.oldRender port crates/horizon-client/src/game/minecarts.rs::Game::cart_geometry rail-based draw is the path Horizon has
98 AbstractMinecartRenderer.newExtractState port crates/horizon-client/src/game/remote.rs::Game::remote_minecart_lerp the cart's position and rotation sampled at the frame's partial tick from the steps a NewMinecartBehavior cart has queued; None when the cart has no lerp, and the renderer then keeps the entity's own interpolated position and rotation