
//Set icon item
setIcon(<minecraft:skull:1>)

//Set title String
setTitle("The Beginning?")

//Set description String
setDescription("Spawn the Wither")

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

//Set the position
setPos(34,41)

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

setAnnounceToChat(false)

criteria = addCriteria("summoned", "minecraft:summoned_entity")
criteria.setEntityType("wither")