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;