def biomeAt(self, x, z):
        '''
        Gets the biome of the block at the specified coordinates. Since biomes are for the entire column at the coordinate, the Y coordinate wouldn't 
        change the result
        
        :param x: The X block coordinate
        :type x: int
        :param z: The Z block coordinate
        :type z: int
        :rtype: int
        '''
        biomes = self.getChunk(int(x/16),int(z/16)).root_tag["Level"]["Biomes"].value
        xChunk = int(x/16) * 16
        zChunk = int(z/16) * 16
        return int(biomes[(z - zChunk) * 16 + (x - xChunk)])

        Gets the biome of the block at the specified coordinates. Since biomes are for the entire column at the coordinate, the Y coordinate wouldn't 
        change the result
        
        :param x: The X block coordinate
        :type x: int
        :param z: The Z block coordinate
        :type z: int
        :rtype: int
        
pymclevel/infiniteworld.py