[1.12.2] Bees will not leave the hive unless blocked.
Slayer5934 opened this issue ยท 3 comments
You can see here that
val flag = isExitBlocked(world, pos1)
checks for if the block is blocked right?
and
if (flag && beeState != BeeState.EMERGENCY) {
return false
makes it so the bees do not come out unless it is not blocked
well
private fun isExitBlocked(worldIn: World, pos: BlockPos): Boolean {
return worldIn.getBlockState(pos).isAir(worldIn, pos)
}
returns a true value when it is not blocked.
So bees cannot exit the hive unless the entrance is blocked.