How will I sleep?

I was playing on Minecraft Pocket Edition when it was turning dark. I went to sleep, but it said: "You may not rest now, there are monsters nearby."

I went up to the roof of my house and saw 1 creeper and 2 skeletons. I killed the creeper and let the skeletons burn in the daylight. The next day, I was tapping really fast and it still said "You may not rest now, there are monsters nearby."

I went to the roof again and did not see anything. How do I sleep when there are monsters nearby?


Put lots of torches on and around your home to keep them from spawning on the roof and a good distance from your home.


An easy way you could do this is have a command block in your house (get by doing

/give @p command_block

in the chat and do this command

/kill @e[name=!changethistoyourname,r=30]

it will kill any mobs or players except for you with in 30 blocks of the command block.