def getTileEntitiesInBox(self, box):
        '''
        Get all of the TileEntities in the specified box
        
        :param box: The box to search for TileEntities in
        :type box: pymclevel.box.BoundingBox
        :return: A list of all the TileEntity tags in the box
        :rtype: list
        '''
        tileEntites = []
        for chunk, slices, point in self.getChunkSlices(box):
            tileEntites += chunk.getTileEntitiesInBox(box)

        return tileEntites

        Get all of the TileEntities in the specified box
        
        :param box: The box to search for TileEntities in
        :type box: pymclevel.box.BoundingBox
        :return: A list of all the TileEntity tags in the box
        :rtype: list
        
pymclevel/infiniteworld.py