Skip to main content

get_damage_protection

Function get_damage_protection 

Source
pub(crate) fn get_damage_protection<V: LivingEntity + ?Sized>(
    world: &World,
    victim: &V,
    damage_source: &DamageSource,
) -> f32