How to write a Minecraft bot using Mineflayer library that can find player breaked a bed block and log it to console?
I coded a Minecraft bot using mineflayer library , and i’m want the bot to recognize a player break a bed on the bot visual range , and log it to the console , someone please help me.