Struct MobEffectAddedEvent
pub struct MobEffectAddedEvent {
pub effect: EffectKey,
pub entity: Option<i32>,
pub amplifier: i32,
}Expand description
What Hooks::mob_effect_added is told. Each field is that hook’s argument of the same name, described in the hook’s doc.
Fields§
§effect: EffectKey§entity: Option<i32>§amplifier: i32Trait Implementations§
Auto Trait Implementations§
impl Freeze for MobEffectAddedEvent
impl RefUnwindSafe for MobEffectAddedEvent
impl Send for MobEffectAddedEvent
impl Sync for MobEffectAddedEvent
impl Unpin for MobEffectAddedEvent
impl UnsafeUnpin for MobEffectAddedEvent
impl UnwindSafe for MobEffectAddedEvent
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more