"Going under a 2 block high area while being attacked by an enderman will have the enderman pick up and drop the blocks you are hiding under. This ability is negated in Easy mode.

Please Help.
Thanks !

I didn't find the right solution from the internet.
References:
-https://bukkit.org/threads/endermen-teleport-the-player-to-them-when-hiding-under-2-high-roof.459172/
-Energy Monitoring Video Examples