Skip to main content

add_effect

Function add_effect 

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

Gives the entity a mob effect.

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