This question already has an answer here:

So, I was playing a survival game on easy.at night, there were hostile mobs, but, when the sun had fully rose, all of the monsters were gone, even the spiders, creepers and endermen. this also happened in a creative game. I would really like an answer, please leave one if you get the chance. Thanks!

marked as duplicate by user9983, Unionhawk, MerajA, Frank, MBraedley Dec 1 '13 at 19:37

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • When a chunk is unloaded, so are the mobs (and all other items) on it, although passive mobs won't be removed. So if you walked a distance away (far enough to unload the chunk) then all hostile mobs will despawn. – Linuxmint Dec 1 '13 at 20:59

Yes, the mobs spawn only under a certain light level, and burn up when exposed to the sun.

However, creepers don't. Something else must have had happened to them.

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