Can mobs see me through glass?
Solution 1:
I've noticed that ghasts won't shoot fireballs if you are COMPLETELY encased in glass, but if there is one hole, they will blast all your glass to smithereens.
Also, spiders and other mobs can see you without glass--I don't think glass makes a difference. If you are inside they will go above you and wait you out--when you walk outside they will follow you and fall on you from above.
They are so persistant about this that I usually build a trap--a hole in the roof with a little room lined with cactus and a glass floor. When I hear a bad critter at night I walk under the glass floor of the little room. They follow me and jump into the room (pit--which is over my head). I walk away so that they rub up against a cactus until they die.
It's a manual process but 100% safe.
btw, creepers will fall down there but probably won't die, they like to hide between the cacti and not move until they can actually get to you--but at least they are out of the way.
Solution 2:
Let's put some references here.
Mobs (excluding Zombies, Spiders and Slimes) cannot draw line of sight through glass.
And I think this one in particular is more than relevant :
Endermen can't see the player through transparent blocks such as glass/glass panes.
Feel free to stare at them from your house now. It feels quite good.
Reminder: Hostile mobs will follow you even if something blocks their line of sight, as long as you're not out of range.
Links:
- http://www.minecraftwiki.net/wiki/Glass
- http://www.minecraftwiki.net/wiki/Enderman
Solution 3:
They can see you and will come after you. But as long as you stay inside, there is no problem.
Creepers won't explode and skeletons won't shoot you. But they will follow you around the house (on the outside, of course).