The bug
When a tree generates from a sapling it can occasionally spawn with a bee nest, if it is placed in a biome that bee hives can spawn in. This is likely because bee nests were added straight into the tree model so any means of generating a tree can cause them to spawn.
This causes issues with tree farms, as bee hives are not movable by pistons.
To reproduce
Find a plains biome
Place a sapling
Bone meal it
→ ❌ Occasionally, the tree will have a bee hive
Linked issues
Comments 4
This reddit post also shows this
This "issue" or "bug" was pretty useful for servers: yes, some people might have to move their tree farms to another biome but in return every server on earth doesn't need to move the world border away or search for new generated chunks: you can just bonemeal saplings in any of the 3 biome types on existing chunks. I mean I understand it was kind of needed with pandas as they only spawn on their own new biome, but bees? Come on... There has to be a better solution. Like making bee nests movable by pistons or something: we already have obsidian, glazed terracota or furnaces.
Bee nests are block entities, and all block entities cannot be moved because of technical reasons.
Please leave any feedback over on the feedback site: https://feedback.minecraft.net/
I tested this a little bit more, and it seems like this only happens for saplings that are planted in a biome where bee nests can appear. In a desert, bee hives will never generate with trees grown from saplings.