Minecraft wiki entry for Defeating_an_End_city, associated text: Your sword (preferably diamond or netherite) will be used to take out shulkers, as well as provoked endermen. You should enchant your sword with Sharpness V, to deal as much damage as possible. Knockback is ineffective against the shulkers, since they cannot move without teleporting, but it works against the endermen. If you have Fire Aspect on your sword, any endermen you hit will be harder to deal with, since they teleport upon taking damage. However, if endermen get set on fire, they will still get weaker for every firetick. Looting is also extremely useful, because it will allow you to get more shulker shells from shulkers, and more ender pearls from endermen.