//Set icon item
setIcon("primal:plant_cordage")

//Set title String
setTitle("Plant Twine")

//Set description String
setDescription("Cract Plant Twine")

//Set the parent advancement. The syntax is "modid:folder/path/to/the/advancement/then/filename"
setParent("triumph:engineer/engineer_plantfiber")

criteria = addCriteria("crafted", "triumph:player_crafted_item")
criteria.setItem("primal:plant_cordage")

//Sets the requirements to be any. This means that if ANY of the criteria triggers is acquired, the advancement is acquired.
setRequirements("any")

setRewardExperience(100)