
//Set the icon item
setIcon(<minecraft:pumpkin>)

//Set the title String
setTitle("Aint he adorable?")

//Set the description String
setDescription("Summon a straw golem")

//Add a parent advancement. The syntax is "modid:folder/path/to/the/advancement/then/filename"
addParent("triumph:example/punching_trees")

//Set the position
setPos(212,96)

//Hide the connection lines, so I can have a pretty shape
//hideLines()

criteria = addCriteria("summoned_golem", "minecraft:summoned_entity")
criteria.setEntityType("strawgolem:strawgolem")