Question: what are the best enchantments for fighting the ender dragon?
Answer: A diamond/netherite sword enchanted with Sharpness V, Looting III and Mending (Knockback is effective against the endermen, but not the dragon) A bow enchanted with Power V and Infinity (Flame and Punch are ineffective)