Trait MobsServerHost
pub trait MobsServerHost {
// Provided methods
fn kill_mob(&mut self, dimension: &str, id: u32) -> bool { ... }
fn dragon(&self, entity: EntityRef) -> Option<DragonRef> { ... }
}Expand description
The server host’s methods of the mobs area, implemented by the game and reached through ServerHost.
Provided Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".