Detect Good and Evil
1st-level Divination
Casting Time: 1 action
Range: Self
Components: V, S
Duration: Concentration, up to 10 minutes
Spell Lists: Cleric, 6. 🔧Mechanics/Player Classes/Paladin
For the duration, you sense the location of any Aberration, Celestial, Elemental, Fey, Fiend, or Undead within 30 feet of yourself. You also sense whether the Hallow spell is active there and, if so, where. Similarly, you know if there is a place or object within 30 feet of you that has been magically consecrated or desecrated.
The spell is blocked by 1 foot of stone, dirt, or wood; 1 inch of metal; or a thin sheet of lead.
Source: PHB'24, page 261. Available in the SRD 5.2.1 and the Basic Rules (2024).