When casting the Mind Blank 5e spell, a voluntary creature you touch is immune to the following items: mind damage, until the spell ends.
Mind Blank
Level: 8
Casting time: 1 Action
Range: Touch
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.