Removing some hostile creatures in minecraft

Is it possible to remove some of the enemies that spawn during the night but retaining some? I actually like playing on a non-peaceful mode but I don't like those creatures (enderman, creeper) that can destroy my structures and other works of art while still retaining some threats during the night and cave exploration.


Solution 1:

There are some mods that can do that, for example http://www.minecraftforum.net/topic/631622-endermen-dont-pick-up-blocks-mod/. I remember there was somewhere mod for creepers too.

Solution 2:

An option since Minecraft 1.4 (snapshot 12w34b, to be precise) is to turn off mobs' ability to destroy blocks. If you have cheats enabled in single player or OP privilege in multiplayer you can type

/gamerule mobGriefing false

Creepers and Endermen will still spawn and Creepers will still explode, but they won't be able to destroy blocks. This option is saved in the world file so you only need to type it once for a given save/server.