I'm playing with my friends on a small private server to just have fun in survival. We made it to the end today and beat the dragon. There were only three of us there at the time.
So the dragon sat upon the portal and I finished it off. At this point, I got the "Free the End" Advancement but no one else did. But one of my friends got most of the xp from the fight.
So here's the argument, my friend with who got the xp argues that he did the most damage to the dragon and thats why he got the most xp. Either due to server lag or some other problem, he didnt see the xp fall and that being his reasoning for why the orbs suddenly went for him. And saying I am the one who just got the last hit. But I don't remember the Dragon fight having any xp related mechanics relating to most damage.
TL;DR: I got the achievement and the kill for the dragon in the statistics tab. He got majority of the XP from the fight.
Im wondering if there's any mechanics that relate to most damage in the ender dragon fight.