Detect evil and good

Detect evil and good was a divination spell that detected Outsider of different types and other types of creatures within 30 feet (9 meters).

Effect
The caster would detect desecrated or consecrated ground as well as aberrations, celestials, elementals, feys, fiends or undead. The spell could not penetrate 3 feet of wood or dirt, 1 foot of stone or 1 inch of steel or a slim sheet of lead.

Components
Only verbal and somatic components where needed for the casting of this spell.