Parrot

Parrots are rare tameable mobs found in jungles. Parrots can imitate sounds of nearby hostile mobs and can perch on the player's shoulders. Now,they can't eat cookies

Spawning
Parrots spawn naturally in jungle biomes, on grass, logs or leaves. They can be found rarely, in groups of 1–2 at light level 7 or above.

Appearance
Parrots come in five different colors: red, blue, green, cyan, and gray.

Drops
When a parrot is killed, it drops:
 * 1–2 . The maximum is increased by 1 per level of Looting, for a maximum of 1–5 with Looting III.
 * 1–3 when killed by a player or tamed wolf.

Movement
Parrots are passive. They can fly, and usually fly upwards if struck. They fly under normal conditions, but they can tire and return to the ground.

Parrots crowd and settle around other nearby mobs, including neutral and hostile mobs.

When in water, a parrot swims by flapping its wings.

Taming
Parrots can be tamed by feeding them wheat seeds, melon seeds, pumpkin seeds, or beetroot seeds, with $1/3$ chance of success. Once tamed, with a parrot will make it sit down and stand up.

Like tamed wolves and cats, a tamed parrot follows the player unless told to sit, and may teleport if there is a sufficient distance between them and the player. Like all tame animals upon death, a death message is displayed to its owner.

Parrot teleportation is completely silent, which is not an oversight.

Unlike most animals, parrots have no baby form, and cannot be bred. Other animals that cannot breed are polar bears, trader llamas $$, skeleton horses, and mules.

Perching on shoulders
A tamed parrot on the ground can be made to perch on its player's shoulder by moving through the parrot. On its own, a tamed parrot can also fly to and perch on the player's shoulder, unless it has been told to sit. A player can have one parrot on each shoulder. Parrots always prefer a player's left shoulder first, if it is empty.

A parrot dismounts its player when the player:
 * jumps down natural terrain, that is:
 * the player does not land on a high-enough surface ($1/2$ block up or higher)
 * the player drops off a ledge of higher than $3/4$ of a block
 * takes damage
 * submerges the player's feet into water of any height
 * starts drowning
 * submerges the player's head in lava (the parrot dismounts and burns even if the player has Fire Resistance)

Parrots on a shoulder always look in the same direction the player's head is looking.

A parrot on a shoulder cannot take any damage, but may get hurt as soon as it dismounts, as when dismounting a player submerged in lava.

A parrot sitting on a shoulder appears in the inventory interface.

Imitating sounds
Parrots imitate the idle sounds of nearby hostile and certain neutral mobs (including the hiss of creepers for example); they have a detection range of 20 blocks (cubical). The sound produced by the parrots is simply the same sound as the mob being mimicked at a higher pitch. They tend to look in the direction of the mob they are mimicking. Occasionally, a parrot may imitate sounds of mobs that are not in the area.

Dancing
Parrots dance near a jukebox if a music disc is inside, and $$, they will even dance while on a player's shoulder. This is a reference to the Party Parrot meme. The game does not seem to have any real way to determine when the music ends, though; as long as the disc remains in the jukebox, the parrot continues dancing even after the music stopped.

The dancing radius is 3 blocks from jukebox. If they dance and then fly beyond this radius, they stop dancing.

Cookies
$$, attempting to feed a parrot a cookie instantly kills it, emitting Poison particles as it dies. $$, feeding a cookie to a parrot gives it fatal poison instead.

Data values
Parrots have entity data associated with them that contain various properties of the mob.

When a parrot is resting on the player's shoulder, it ceases to be a distinct entity, and its entity data is stored meanwhile in the player's  or   tags. See also Player.dat.

Trivia

 * Red parrots are based on real-life Scarlet macaw, "with a little Minecraft twist." . Similarly, blue parrots are based on hyacinth macaws, cyan parrots are based on blue-and-yellow macaws, green parrots are based on great green macaws and gray parrots are based on cockatiels.
 * Warnings against feeding chocolate or avocados to parrots are referenced in two different splash texts.
 * The Minecraft team uses various party parrot emojis when communicating with each other.

Gallery

 * }