Made mob spawning code use the chunk so that it could use varying sizes of areas for different mobs.