Skip to main content

apply_potion_contents

Function apply_potion_contents 

Source
pub(crate) fn apply_potion_contents(
    contents: &PotionContents,
    world: &World,
    user: &dyn LivingEntity,
    duration_scale: f32,
)
Expand description

Mirrors vanilla PotionContents.applyToLivingEntity(user, durationScale).