Parrot

Parrots are tameable birds found in jungles. Parrots can imitate sounds of nearby hostile mobs and can perch on the player's shoulders.

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

Appearance
Parrots come in five different colors: red, green, blue, 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 seeds with $1/3$ chance of success. Once tamed, they can be told to sit with a right-click.

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.

Unlike other tameable mobs, parrots cannot be bred. Other tameable mobs that cannot breed are 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. A parrot that has been told to sit does not attempt to perch. 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 if its player jumps and does not land on a high-enough surface ($1/2$ block up or higher), or if its player drops off a ledge of higher than $3/4$ of a block, takes damage, or if its player's lower half enters water of any height. This means a parrot can ride a player's shoulder as the player jumps up blocks of natural terrain, but not down natural terrain. If the player's head is submerged in floating water, parrots dismount as soon as the player starts drowning.

Parrots always face the same direction as the player they are on.

A parrot on a shoulder cannot take any damage, but may get hurt as soon as it dismounts. If a player's head is submerged in floating lava, the parrot dismounts and burns, even if the player takes no damage due to fire resistance.

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

A parrot will dismount a player's shoulder when they mount a horse or boat.

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, even on a player's shoulder, if a music disc is inside the jukebox. 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.".
 * Gray parrots appear to be based on real-life 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

 * }