How do i stop beehives from spawning?

ive looked through quite alot of files and i just dont even know where to start
Continue to help post