Minecraft wiki entry for Ender_Dragon, associated text: The dragon never targets any entity but the player. Other mobs may turn hostile to the dragon when struck. Any entities hit by her wings are dealt 5 damage (or 10 damage if hit by her head), and in Java Edition, are thrown into the air, sometimes to fatal heights or even off the island. Neither of these effects is applied for 1⁄2 second after the dragon takes damage.