mirror of
https://github.com/horizon-rust/horizon.git
synced 2026-11-10 17:18:25 -10:00
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:
1 file changed
+1
-1
@@ -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
|
||||
|
||||
|
Reference in new issue
Block a user