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 will not drop anything unless mined with Silk Touch, but hives will drop empty if broken without Silk Touch. If broken with a tool enchanted with Silk Touch, the bees will remain inside. Otherwise, they will come out of 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 few bees. Every tree in these biomes has a 5% chance to have a bee nest only during world generation. Bee hives are most commonly found in the Flower Forest biome because of its tree density, as opposed to the few scattered trees found in the others biomes. They always generate facing south.

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

Harvesting
Pollinated bees will fly into bee hives and start working for a while. When done, they will exit the hive, increasing the honey level by 1. When the honey level has reached 5, the block's appearance will change to be full of honey, and will produce dripping honey particles if suspended above the ground. If shears are on a full bee hive, it will drop three honeycombs. If an empty glass bottle is used on a full bee hive, it will fill the bottle with honey, giving a honey bottle. Any bees inside the hive when harvesting will become aggravated towards the player. If there is a lit campfire directly underneath the hive (within five blocks, without obstruction), the bees inside will not become aggravated when harvesting it.

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.