Beehive

Bee nests are naturally generated blocks that house bees.

Bee hives are crafted versions of bee nests.

Obtaining


Hives can be mined by any tool or by the player's fist, though they break faster with an axe. Bee nests do not drop anything unless mined with Silk Touch, but hives drop empty if broken without Silk Touch. If broken with a tool enchanted with Silk Touch, the bees remain inside. Otherwise, they emerge from the hive and swarm the player unless a campfire is underneath it.

Natural generation
Bee nests generate hanging from oak and birch trees found in, and  biomes, containing several bees. A tree in these biomes has a 5% chance to have a bee nest, only during world generation. Bee nests are more commonly found in the flower forest biome, because that biome has more trees than the others.

Bee housing
The hives can house up to 3 bees at a time. Bees fly into the nest at night, during rain, and after pollinating to work.

Harvesting
Pollinated bees fly into bee hives and start working for a while. When done, they exit the hive, increasing the honey level by 1. When the honey level has reached 5, the block's appearance changes, indicating it is full of honey, and produces dripping honey particles if suspended above the ground. If shears are on a full bee hive, it drops three honeycombs. If an empty glass bottle is used on a full bee hive, the bottle fills with honey, becoming a honey bottle. Harvesting honey causes any bees inside the hive to become aggravated toward the player. If there is a lit campfire directly underneath the hive (within five blocks, without obstruction), harvesting the hive does not aggravate the bees inside.

Block entity
A bee hive has a block entity associated with it that holds additional data about the block.

Trivia

 * The terminology of a bee hive being a man-made enclosure for bees is correct, as opposed to a naturally occurring bee nest.