This is the typical Enderman farm that is made at the beginning of survival to farm XP. It works in most versions, remember that Endermite needs a tag. It is necessary for maximum efficiency: Sharpness 5, Sweeping 3, and optional Fire Aspect apart from Unbreaking 3 and Mending which are the normal ones.