From 8c784eaaa67ef7ab5eeebe575823eecac5ab4528 Mon Sep 17 00:00:00 2001 From: Ludovic Marie <136255825+ludovic111@users.noreply.github.com> Date: Tue, 13 Oct 2026 01:15:26 +0200 Subject: [PATCH] Ignore mob step game events in the game, whose sculk layer tracks steps Co-Authored-By: Claude Opus 5.5 --- crates/horizon-client/src/game/creatures.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/crates/horizon-client/src/game/creatures.rs b/crates/horizon-client/src/game/creatures.rs index d7f710d40..e17646f0d 100644 --- a/crates/horizon-client/src/game/creatures.rs +++ b/crates/horizon-client/src/game/creatures.rs @@ -709,6 +709,9 @@ impl Game<'_> { MobEvent::SoundId(name, at, volume, pitch) => { self.audio.play(&name, Some(at), volume, pitch) } + // The sculk layer tracks the game's steps itself + // (`entity_motion_events`). + MobEvent::GameEvent { .. } => {} MobEvent::AttackPlayer(amount, from) => { self.mob_hits_player(amount, from, "minecraft:mob_attack") }