def getChunk(self, cx, cz):
        '''
        Read the chunk from disk, load it, and then return it
        
        :param cx: The X coordinate of the Chunk
        :type cx: int
        :param cz: The Z coordinate of the Chunk
        :type cz: int
        :rtype: pymclevel.infiniteworld.AnvilChunk
        '''

        chunk = self._loadedChunks.get((cx, cz))
        if chunk is not None:
            return chunk

        chunkData = self._getChunkData(cx, cz)
        chunk = AnvilChunk(chunkData)

        self._loadedChunks[cx, cz] = chunk
        self.recentChunks.append(chunk)
        return chunk

        Read the chunk from disk, load it, and then return it
        
        :param cx: The X coordinate of the Chunk
        :type cx: int
        :param cz: The Z coordinate of the Chunk
        :type cz: int
        :rtype: pymclevel.infiniteworld.AnvilChunk
        
pymclevel/infiniteworld.py