Skip to main content

add_effect

Function add_effect 

Source
pub fn add_effect(
    uuid: impl Arg<String>,
    effect: impl Arg<String>,
    duration: impl Arg<i32>,
    amplifier: impl Arg<u8>,
    particles: impl Arg<bool>,
) -> bool
Expand description

Gives the entity a mob effect.

Calls AddEffect; what no one answers reads as the reply’s default.