Minecraft wiki entry for Enderman_farming, associated text: A similar design uses TNT ignited by a player with a bow enchanted with Flame. Because the player ignited the TNT that killed the enderman, they receive experience orbs.