Detect Evil and Good
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.
The spell is blocked by 1 foot of stone, dirt, or wood; 1 inch of metal; or a thin sheet of lead.
Detect Evil and Good 5e 2024 vs. 2014 edition differences
The 2024 version allows sensing the location of any creature of specified types within 30 feet, and additionally detects if a Hallow spell is active there. The 2014 version only indicates presence and location of such creatures and objects, with no mention of Hallow detection. Damage or healing differences are not present.