While in its fire-breathing phase where it sits on the central fountain in the End, the Ender Dragon is immune to damage. Hitting with it a sword or shooting it with a bow does nothing. While it is flying around, it seemingly takes damage normally.
As a side note, the Wither also seems to take damage normally.
Related issues
Comments


Yes, particles appear when the hit connects, and I believe it made a sound like I was hitting it, but it took no damage. It was consistent across different test worlds as well.
Does MC-174590 describe your issue?

Yes, thatβs probably the same issue (I didnβt test different parts of its body). Sorry for the duplicate.
No worries!

Thank you for your report!
We're tracking this issue in MC-158205, so this ticket is being resolved and linked as a duplicate.
If you would like to add a vote and any extra information to the main ticket it would be appreciated.
If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.
Quick Links:
π Issue Guidelines β π¬ Community Support β π§ Customer Support β βοΈ Feedback and Suggestions β π Game Wiki
-- I am a bot. This action was performed automagically! Please report any issues in Discord or Reddit
It's meant to be immune to bows, but are you sure you hit it on its hitbox with your sword?