Beehive

Bee hives are craftable versions of bee nests.

Obtaining
Bee hives can be mined by any tool or by the player's fist. 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 put under it.

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 blocks 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, 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.