def removeEntitiesInBox(self, box):
        '''
        Removes all of the Entities in the specified box
        
        :param box: The box to remove all Entities from
        :type box: pymclevel.box.BoundingBox
        :return: The number of Entities removed
        :rtype: int
        '''
        count = 0
        for chunk, slices, point in self.getChunkSlices(box):
            count += chunk.removeEntitiesInBox(box)

        log.info("Removed {0} entities".format(count))
        return count

        Removes all of the Entities in the specified box
        
        :param box: The box to remove all Entities from
        :type box: pymclevel.box.BoundingBox
        :return: The number of Entities removed
        :rtype: int
        
pymclevel/infiniteworld.py