pub(crate) const fn to_runtime_instance(
effect: &MobEffectInstance,
duration: i32,
) -> MobEffectInstanceExpand description
Builds the runtime active-effect state for one registry mob-effect
instance, ready to hand to LivingEntity::add_mob_effect.