Detect evil and good

Detect evil and good was a divination spell that detected outsiders 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 three feet of wood or dirt, one foot of stone or one inch of steel or a slim sheet of lead.

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