Take the 2-minute tour ×
Arqade is a question and answer site for passionate videogamers on all platforms. It's 100% free, no registration required.

I'm trying to go to bed, but it's not letting me. I have a showcase in my house that is upstairs, and that showcase has a trapped Enderman in it. Everything else in my showcase is an animal. Could it be that the Enderman that is causing my bed to tell me I can't sleep?

share|improve this question
    
What is a showcase? I assume it's not the showcase mod. –  John Mar 7 '13 at 13:20
    
@John He just means a collection of animals for display. –  Sadly Not May 28 '13 at 1:23
    
@SadlyNot mobs would despawn once he moves away correct? –  John May 28 '13 at 13:58

2 Answers 2

According to the MC wiki, a hostile mob prevents you sleeping. An enderman is considered a neutral mob unless provoked, so it should not prevent you sleeping.

In recent and current versions of Minecraft, nightmares are gone, but you cannot sleep if a hostile mob is within 8 blocks of the bed horizontally (along each axis) and 5 blocks vertically.

also

An Enderman (plural Endermen) is a three-block-high, humanoid, neutral mob that will turn hostile when provoked.

To answer your question, an enderman is not considered a monster. Regardless of this I tested this in the latest version of Minecraft and it did prevent me sleeping. So although it's classified wrong, it still prevents you from sleeping.

share|improve this answer
6  
+1 for Science! Yeah, the wiki is just wrong. By the code an Enderman is a hostile mob that just can't see the player until provoked. –  SevenSidedDie Mar 7 '13 at 3:28
    
Really now? I'll have to take a look at the code sometime, I like playing around with those things. –  MapCavalier Mar 7 '13 at 3:31
    
This is a straightforward way to get the decompiled code up and working. It's a tangle, but quite interesting to browse through! –  SevenSidedDie Mar 7 '13 at 3:40

Yup. The enderman is classified as hostile mob to me, because it attacks if you stare at it. Do that with a spider. Same thing happens... except quicker. You should probably put the showcase somewhere else.

share|improve this answer
    
But before it's stared at, it is classified as neutral. It's only once it's provoked that it becomes hostile. –  Coronus Mar 9 '13 at 1:47
1  
The code is the problem. It's set as hostile no matter what. –  RBLXDev Mar 11 '13 at 21:59

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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