Skip to main content

ActiveMobEffect

Type Alias ActiveMobEffect 

Source
pub type ActiveMobEffect = MobEffectInstance;
Expand description

Active mob-effect state stored on a living entity.

Aliased Type§

pub struct ActiveMobEffect {
    effect: &'static MobEffect,
    duration: i32,
    amplifier: i32,
    ambient: bool,
    visible: bool,
    show_icon: bool,
    hidden_effect: Option<Box<MobEffectInstance>>,
}

Fields§

§effect: &'static MobEffect§duration: i32§amplifier: i32§ambient: bool§visible: bool§show_icon: bool§hidden_effect: Option<Box<MobEffectInstance>>