From 5435eb0f17d6f655604ba9cec75a6d2a829ad0fa Mon Sep 17 00:00:00 2001 From: Ludovic Marie <136255825+ludovic111@users.noreply.github.com> Date: Tue, 27 Oct 2026 06:30:07 +0100 Subject: [PATCH] Send a cold strider's shiver at index 19 AgeableMob has two entries in 26.3 (DATA_BABY_ID 16, AGE_LOCKED 17), so Strider's DATA_BOOST_TIME is 18 and DATA_SUFFOCATING 19. A boolean at 18 is the wrong type for that slot on a vanilla client. Co-Authored-By: Claude Opus 5.5 --- crates/horizon-client/src/game/lan.rs | 8 ++++---- crates/horizon-client/src/game/remote.rs | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/crates/horizon-client/src/game/lan.rs b/crates/horizon-client/src/game/lan.rs index 967d29e40..8bed065a8 100644 --- a/crates/horizon-client/src/game/lan.rs +++ b/crates/horizon-client/src/game/lan.rs @@ -372,8 +372,8 @@ fn mob_meta( } /// What a client shakes a mob by: Entity.DATA_TICKS_FROZEN (7), whose full -/// count is `isFullyFrozen`, and Strider.DATA_SUFFOCATING (18, after -/// AgeableMob's baby flag and DATA_BOOST_TIME). +/// count is `isFullyFrozen`, and Strider.DATA_SUFFOCATING (19, after +/// AgeableMob's two and DATA_BOOST_TIME). fn mob_freeze_meta( m: &Mob, meta: &mut Vec<(u8, i32, Value)>, @@ -385,9 +385,9 @@ fn mob_freeze_meta( defaults.push((7, serializer::INT, Value::Int(0))); if m.kind.id == "minecraft:strider" { if m.extra.flag { - meta.push((18, serializer::BOOLEAN, Value::Bool(true))); + meta.push((19, serializer::BOOLEAN, Value::Bool(true))); } - defaults.push((18, serializer::BOOLEAN, Value::Bool(false))); + defaults.push((19, serializer::BOOLEAN, Value::Bool(false))); } } diff --git a/crates/horizon-client/src/game/remote.rs b/crates/horizon-client/src/game/remote.rs index 08f76033a..d05d21651 100644 --- a/crates/horizon-client/src/game/remote.rs +++ b/crates/horizon-client/src/game/remote.rs @@ -1921,9 +1921,9 @@ impl Game<'_> { match (index, value) { // Entity.DATA_TICKS_FROZEN: isFullyFrozen shakes it. (7, Value::Int(ticks)) => m.ticks_frozen = *ticks, - // Strider.DATA_SUFFOCATING (after AgeableMob's baby - // flag and DATA_BOOST_TIME): a cold strider shakes. - (18, Value::Bool(cold)) + // Strider.DATA_SUFFOCATING (after AgeableMob's two + // and DATA_BOOST_TIME): a cold strider shakes. + (19, Value::Bool(cold)) if m.species() == horizon_client::mobs::Species::Strider => { m.extra.flag = *cold;