
//Set icon item
setIcon(<minecraft:ice>)

//Set title String
setTitle("I've Only Ever Seen Like Two of These")

//Set description String
setDescription("Slain Stray")

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

//Adds criteria named "killed_spider" with the trigger type "minecraft:player_killed_entity". This function returns the criteria as an object
criteria = addCriteria("killed_skeleton", "minecraft:player_killed_entity")

//Sets the required entity type for the criteria. This is the entity that the player must kill.
criteria.setEntityType("minecraft:stray")

drawDirectLines(true)

//Set the position
setPos(-155,-101)

//Rewards
setRewardExperience(4)