If the bees' original home isn't near, your beehive can attract them. It has an even higher chance of success at night when the bees naturally look for shelter. Moreover, you can use any flower in Minecraft to attack the bees.