The Last Minecraft Parrot

Every day I play minecraft and get bored after some time, so one day I decided to create a new world and do something different. I wanted to make a giant animal house with bamboo and grass. As I was spawning animals I saw a jungle biome in the distance. I spotted a lot of ocelots and parrots and I was relieved that I actually have some kind of luck! I noticed something that was completely off though... When I was putting the parrots on a lead and flying towards my house and turned my head around every time the parrots were gone but the lead rope was still there... When I tried to deattach the leash, text would appear saying "That cannot be done" I went back to get some more parrots thinking it was some thing mojang added to scare people... But when I arrived at the jungle again, there was only one parrot and it was crying... I tried to give it some seeds but it didn't want them from me... I didn't know what to do... I put it on another lead and kept facing it to see what was happening with all the parrots... Then I saw a phantom with white eyes charging at the parrot! I quickly sped up to avoid it, very quickly grabbed a diamond sword from creative and tried to kill the phantom... But it was only doing 1 damage to the phantom. I saw the parrot terrified and I tried to turn it to peaceful in time but I couldn't make it... I saw the phantom munching on the parrot and when I turned it to peaceful the phantom didn't dissapear... Instead the parrot started flying up and started charging at the phantom ripping it to peices! Then the parrot started charging at me making my game crash! When I tried to log back onto that world it just said "The Last Parrot has claimed this land"