Minecraft wiki entry for Managing_slimes_in_superflat_mode, associated text: Note that given the large area covered by a typical NPC village, if you enclose an entire village inside a single wall, it's highly probable that there will be at least one slime-spawning chunk inside the village. You may wish to place blocks allowing slimes to exit certain areas and not re-enter them in order to keep their numbers manageable.