def stringifyBlockstate(name, properties):
        """
        Turns a Blockstate into a single string
        
        :param name: The Block's base name. IE: grass, command_block, etc.
        :type name: str
        :param properties: A list of Property/Value pairs in dict form
        :type properties: list
        :return: A complete Blockstate in string form
        :rtype: str
        """
        if not name.startswith("minecraft:"):
            name = "minecraft:" + name # This should be changed as soon as possible
        result = name + "["
        for (key, value) in properties.iteritems():
            result += "{}={},".format(key, value)
        if result.endswith("["):
            return result[:-1]
        return result[:-1] + "]"

        Turns a Blockstate into a single string
        
        :param name: The Block's base name. IE: grass, command_block, etc.
        :type name: str
        :param properties: A list of Property/Value pairs in dict form
        :type properties: list
        :return: A complete Blockstate in string form
        :rtype: str
        
pymclevel/materials.py