The bug:
Bee nests cannot grow from growing birch saplings if the nearby flower is potted. There is a 5% chance of a bee nest generating on the grown tree when it is grown near a small flower. Across 336 events (amount of saplings tested in my video), a 5% probability will happen at least once 99.9999967256% of the time (effectively guaranteed).
Steps to reproduce the issue:
Place a small flower
Plant a birch sapling within two blocks of it
Wait for the sapling to grow into a tree, a high
random_tick_speedis recommendedRepeat steps 1-3 until a bee hive appears
Now use a potted small flower instead and repeat steps 2-3 multiple times, notice that a bee nest will never generate
Expected result:
Bee nests can generate from saplings grown near potted plants.
Actual result:
Bee nests never generate from saplings grown near potted plants.
Attachments
Comments 3
It appears that this issue stems from net/minecraft/world/level/block/grower/TreeGrower, which has the following code:
private boolean hasFlowers(final LevelAccessor level, final BlockPos pos) {
for (BlockPos p : MutableBlockPos.betweenClosed(pos.below().north(2).west(2), pos.above().south(2).east(2))) {
if (level.getBlockState(p).is(BlockTags.FLOWERS)) {
return true;
}
}
return false;
}This scans a 5x5x2 area around the sapling and returns true if a #minecraft:flowers block is within that area. Potted flowers are separate blocks that are under #minecraft:flower_pots, so they never get checked.
Thank you for your report!
After consideration, the issue is being closed as Working as Intended.
Please note, that mechanics of the game may change between updates.
Things such as graphics, sounds, world creation, biomes, redstone, villagers, and animals may not work the same in current versions.
Full Version History – Snapshot Version History – The official Minecraft feedback site
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
Thank you for helping us improve Minecraft! We saved your files: