Panda

A panda is a rare neutral mob that resides in jungles. Certain aspects of a panda's behavior and appearance vary depending on its personality.

Spawning
Pandas spawn rarely, in groups of 1–2 in jungle biomes at the surface on grass blocks with at least two-block space above them at a light level of 9 or more. They are a bit more common in bamboo jungles.

Pandas spawn with a randomized personality, with the normal one being the most common and the brown variant being the rarest.

5% of pandas spawn as babies.

Drops
Upon death, adult pandas drop:
 * 1
 * 0-2, increased 1 per level by Looting.
 * , if killed by a tamed wolf or the player.

Baby pandas have 1/700 chance to drop 1 after they sneeze.

Upon successful breeding, is dropped.

Like other baby animals, killing a baby panda yields no items or experience.

Behavior
Pandas act similarly to other neutral mobs; they attack when hurt, but only once (similar to llamas, and bees). Pandas do not attack on Peaceful difficulty. They also move faster in water than other land mobs (similar to polar bears). Pandas follow any player who is carrying bamboo and stop following if the player moves beyond approximately 16 blocks away. They also whimper if a thunderstorm is happening in the area. Adult pandas seek out bamboo and cake to eat.

Baby pandas have a 0.01666% chance (0.2% for weak baby pandas) of sneezing every tick, which rarely drops a slime ball and make all adult pandas jump within 10 blocks of the sneezing baby panda. They also occasionally roll over and jump around.

Pandas have one private inventory.

Pandas can be ridden by baby zombie variants.

If a panda is being attacked by a player near a villager, that villager displays angry particles. However, it does not affect the popularity of the player.

Personalities
Pandas have different personalities: either normal, lazy, worried, playful, aggressive, weak, or brown.


 * Normal pandas:
 * Do not have unique personality actions.
 * Lazy pandas:
 * Lie on their backs.
 * Are slower than normal pandas, making them the slowest land mob in the game.
 * Do not follow a player who is holding bamboo while they're lying on their back. $$, if a player is holding bamboo, a lazy panda stops lying on its back and starts following that player.
 * Worried pandas:
 * Avoid the player and most hostile mobs, except slimes, magma cubes, ghasts, shulkers, phantoms and the ender dragon.
 * Shake and hide their faces during thunderstorms.
 * Do not eat bamboo or cake items on their own.
 * Playful pandas:
 * Roll over and jump around even as adults. The ability to roll may sometimes cause harm or kill the panda as it can accidentally roll off a cliff or another high altitude.
 * Aggressive pandas:
 * When hit, an aggressive panda attacks the player and other mobs continuously until the target dies or goes beyond detection range, instead of only once. It also doesn't panic when harmed.
 * When nearby pandas are attacked, aggressive pandas becomes hostile toward the attacker.
 * Are slow, but have reach rivaling that of the player.
 * Weak pandas:
 * Tend to sneeze more often as babies than regular baby pandas, and have half the health of other pandas.
 * Brown pandas:
 * Do not have unique personality actions, but are brown and white instead of the usual black and white.

Breeding
The panda is the only animal to have extra breeding conditions. To enter love mode, there must be at least eight bamboo blocks within a five-block radius of both pandas. Once that requirement is met, feeding them bamboo causes them to mate, producing a baby panda, and the panda becomes passive instead of neutral toward that player. If a panda is fed without a sufficient amount of bamboo nearby, it sits and eats the bamboo, but does not enter love mode. Also, if the player feeds two pandas too close, they instead bleat and become hostile toward the player.

Genetics
Each panda has two hidden values called "genes" or "alleles", similar to biology. There is the main gene and a hidden gene. Normal, aggressive, lazy, worried, and playful personalities are dominant traits, and weak and brown personalities are recessive traits. A dominant trait always has priority over a recessive trait. If both the main and hidden genes are dominant, the main gene has priority and presents itself as the panda's personality. Being recessive, weak and brown personalities occur if both the main and hidden genes of a panda are recessive genes. However, if the main gene is recessive and the hidden gene is not the same gene, then a normal personality results. To get a brown or weak panda, both the main and hidden genes must be both brown or weak.

When two pandas breed, each one passes one of their genes to their children, who then randomly mix both obtained genes as their respective main and hidden genes. There is also a $$ chance for each gene of the baby to mutate into another gene. Mutations have different probabilities to mutate into the different genes, these probabilities can be found in the table underneath. These mutation probabilities also apply to spawned (not bred) pandas for their main and hidden genes.


 * The only way to directly observe the hidden gene of a panda is to use the command : or using third-party NBT editors.

Appearance


The appearance of pandas depends on their personality:
 * Aggressive pandas have angry eyebrows and a tight frown.
 * Lazy pandas have a smiling face.
 * Weak pandas have teary eyes and snotty noses.
 * Worried pandas have 'puppy' eyes similar to tamed wolves.
 * Playful pandas have their tongues out.
 * Normal pandas have a frowning face.
 * Brown pandas have brown and white fur and a frowning face. This is the rarest variant.

ID




Entity data
Panda have entity data associated with them that contains various properties.

Trivia

 * To create the in-game sounds for pandas, Mojang Studios' lead sound designer, Samuel Åberg, went to Guangzhou, China, to record real-life pandas. This was also done with dolphins.
 * The brown panda, known as the Qinling panda, is actually a subspecies of the giant panda.
 * The lazy panda is the slowest land mob in the game (not counting status effects such as Slowness).
 * The rarest mob $$ is a baby husk with equipment and armor riding a brown panda, which has a 2.88×10−13 percent (one in 3.47 2 trillion) chance of spawning.
 * The panda that sits on the title screen of the Bedrock Edition beta uses the model of the Java Edition panda's sitting pose. Therefore, this title screen can be identified as using a Java Edition screenshot.