def allChunks(self):
        """
        :return: list with all chunks in the world.
        """
        if self._allChunks is None:
            self._allChunks = self.worldFile.getAllChunks()
            if self.world_version == '1.plus' and self.dat_world_version == '\x04':
                self._allChunks.union(self.worldFile.getAllChunks(world_version='pre1.0'))
        return self._allChunks

        :return: list with all chunks in the world.
        
pymclevel/leveldbpocket.py