Bee

Bees are neutral animals that will sting the player, in a swarm, if provoked and inflict poison. They can spawn in any difficulty.

Natural generation
Bees spawn in groups around bee nests, found in, and  biomes. Bee nest are often found hanging from trees.

Behavior
Bees fly around their nests, being attracted by flowers. After circling a flower for a while a bee can collect pollen, which changes the texture of a bee to include pollen spots on its back. Bees with pollen also have pollen particles coming off them.

Once bees have collected pollen they can pollinate crops, causing the crop they pollinated to advance one growth stage.

When a bee with pollen returns to its bee nest or bee hive the nectar level of the nest/hive is increased by one.

Bees follow players holding flowers, but stop following if the player stops holding the flower.

Bees will attack and swarm the player as a group when angered, much like wolves and zombie pigmen. Angered bees cause their eye texture to turn red. All bees nearby are angered when one individual is attacked, or when a nest is destroyed. Collecting a honeycomb or a honey bottle from a nest or hive will cause the bees from said nest or hive to leave and swarm the player. One can prevent the bees from swarming the player by placing a Campfire below the hive.

After attacking and poisoning the player bees lose their stinger and die within 20 seconds. Bees can, therefore, only attack once.

Bees do attack other mobs when damaged, for example when a skeleton shoots at a bee, the swarm attacks.

Bees, despite being arthropods in real life, are not considered arthropods in Minecraft and do not take increased damage against the Bane of Arthropods enchantment.

Breeding
If bees are given a flower, they enter love mode and pair off to create baby bees, granting the player a small amount of experience. The parent bees have a cooldown of 5 minutes before they can breed again. All babies obtained by breeding take 20 minutes to grow up. The growth of baby bees can be slowly accelerated using flowers; each use takes 10% off of the remaining time to grow up.

Entity data
Bees have entity data associated with them that contains various properties of the mob.

Trivia

 * Bees are the first flying insects and first flying neutral mobs introduced to Minecraft.
 * Bees can be leashed, even when angered.