When casting the Mind Blank 5e spell, a voluntary creature you touch is immune to the following items: mind damage, until the spell ends.
Casting time: 1 Action
Components: V, S
Duration: 24 hours
In dnd 5e, when casting the 5e Mind Blank, until the spell ends, a voluntary creature you touch is immune to the following items: mind damage; any effect that can perceive its emotions or read its thoughts; predict spells; charm state.
When the target is affected by the wish or other powerful spells or effects that affect the mind or steal information, it can also be blocked by that Mind Blank 5e spell.