From 5e27fd342166040e1cc464e88c059e078534f86a Mon Sep 17 00:00:00 2001 From: Kacpherek Date: Mon, 26 Oct 2026 23:04:35 +0100 Subject: [PATCH] Use the mob level event that main already has --- crates/horizon-client/src/game/creatures.rs | 9 --------- crates/horizon-client/src/mobs.rs | 7 ------- 2 files changed, 16 deletions(-) diff --git a/crates/horizon-client/src/game/creatures.rs b/crates/horizon-client/src/game/creatures.rs index 3832bab7b..14b5fdc7d 100644 --- a/crates/horizon-client/src/game/creatures.rs +++ b/crates/horizon-client/src/game/creatures.rs @@ -1288,15 +1288,6 @@ impl Game<'_> { MobEvent::Vibration { from, to, ticks } => { self.mob_vibration_particle(from, to, ticks) } - MobEvent::LevelEvent { id, pos, data } => { - self.level_events - .push(horizon_world::level::LevelEvent::LevelEvent { - id, - pos: horizon_core::position::BlockPos::new(pos[0], pos[1], pos[2]), - data, - }); - self.process_level_events()?; - } MobEvent::DigParticles { at } => self.warden_dig_particles(at), MobEvent::BlockBreakEffect { pos, block } => { let state = self.world.block(block[0], block[1], block[2]); diff --git a/crates/horizon-client/src/mobs.rs b/crates/horizon-client/src/mobs.rs index 90ec10745..76843c02c 100644 --- a/crates/horizon-client/src/mobs.rs +++ b/crates/horizon-client/src/mobs.rs @@ -1195,13 +1195,6 @@ pub enum MobEvent { to: [f64; 3], ticks: i32, }, - /// `Level.levelEvent` from a mob (a faceplanted fox's 2001, the snow's - /// crumbs). - LevelEvent { - id: i32, - pos: [i32; 3], - data: i32, - }, /// The crumbs of the block under a digging or emerging warden. DigParticles { at: [f64; 3],