58

The latest Minecraft update now has beds, which is very nice for the first few nights of the game while you establish a mob-resistant area that you can work in during the night.

For reference, you sleep in a bed during the nighttime and it fast-forwards to daylight.

My problem is that I've put down a bed, and every time I sleep in it I get woken up by mobs inside my house. I've made sure it's very light, darkened it a bit - tried a few combinations but no luck.

What am I missing? How can I avoid having mobs spawning inside my house every time I try and get some sleep?

8 Answers 8

52

According to the Minecraft Wiki, aggressive mobs won't wake you if you surround your bed with torches. Here is what it says about the mob behavior:

To ensure that you are not awakened unnecessarily during the night, the bed must not be placed along a 1 block thick wall, unless the area on the other side of the wall is also safe. If a hostile mob can get within 2 blocks of the bed, even if the blocks are separated by a wall, you will be awakened with the hostile mob standing next to you. There appears to be a slight delay before the mob attacks you, giving you time to get the first blow.


Edit: As of Minecraft 1.0, mobs will not awaken you suddenly if your bed is placed in an unideal location. Instead, the game won't let you sleep and will state that there are mobs nearby.

4
  • 18
    "the bed must not be placed along a 1 block thick wall, unless the area on the other side of the wall is also safe" <-- That's my problem, right there. Thanks! :) Commented Feb 28, 2011 at 3:16
  • Glad I could help. :)
    – Kevin Yap
    Commented Feb 28, 2011 at 3:16
  • Out of curiosity, how does the 1 block thick thing work?
    – theorise
    Commented May 24, 2011 at 10:12
  • 10
    "|" = wall, "B" = bed; |B = bad, ||B = good. Commented Aug 19, 2011 at 4:38
11

I had similar problems, and my bed was nowhere near a wall. The room was well lit, and I couldn't figure out the problem was. I finally found it in the wiki:

If you use your bed, and have a door with a right hinge (as viewed from the outside), monsters can still get to you and wake you up, as though no door was present. One example of this is a room with double doors, atleast one of the doors will be unsafe.

D'oh!

1
  • 4
    "a room with double doors, at least one of the doors will be unsafe" – not necessarily true; my house has double doors and I'm fine sleeping. It's not so much that a right-hinge door is the problem, but that both doors should lay flush with the outside wall.
    – Kevin Yap
    Commented Aug 24, 2011 at 19:51
7

Jeb recently tweeted the following:

New bed behavior... Instead of being woken up by monsters, you are not allowed to sleep if monsters are nearby. Once you sleep you're safe

This means that as of Minecraft's official release next week, you will never have to worry about being woken by monsters again. \o/

5

It is believed that the game sometimes cause a "nightmare" when you sleep, spawning a monster even in safe places.

However, for some people, monsters spawn more often than should. Possible reasons are bugs in nightmare code (triggering too often), or game detecting the place as unsafe even when the player thinks it is safe. There are a few topics at GetSatisfaction about this issue:

3
  • 2
    Do you have a source on that nightmare comment? I don't find it believable that they want it to occur in totally safe areas. Commented Jul 18, 2011 at 21:24
  • It has been mentioned a few times in: getsatisfaction.com/mojang/topics/… , but I can't find an official statement. Commented Jul 19, 2011 at 3:14
  • 1
    Well, until I see an official statement, I don't see any reason to think it's intended behavior. Commented Jul 19, 2011 at 3:24
1

Mobs spawn in a 3x3x3 area, so build a house like 10x10x2 or place blocks so that there is no 3x3x3 area is in your house; this way, no mobs can spawn.

1
  • This is currently outdated, mobs only need 1x2x1 block to spawn. 1 wide 2 high. Commented Apr 23, 2014 at 7:17
0

Don't put your bed near a wall, like this guy.Look at his bed, how it is not near a wall.

2
  • See how is bed IS NOT near a wall?
    – Henry
    Commented Sep 18, 2011 at 1:17
  • The head of the bed is touching the wall. Commented Sep 18, 2011 at 3:43
0

Make each room smaller than 3 blocks tall and put a lot of touches down if the rooms are over a certain area, I think its an area of more than 3 by 3 will spawn mobs, if the light levels are less than level 7 mobs will spawn in them.

1
  • 2
    Could you elaborate your answer a little more? looks so vague ...
    – Michel
    Commented Jan 31, 2014 at 17:45
-2

Just put dirt or some other block over the window part of the door, on BOTH SIDES, and try your bed. if it doesn't work, cover your windows in the same fashion.

1
  • 2
    Nope, this dodes not work. Commented Aug 19, 2011 at 4:39

Not the answer you're looking for? Browse other questions tagged or ask your own question.