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

//Set title String
setTitle("Not really sure what they do...")

//Set description String
setDescription("Slain Support Creeper")

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

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

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

drawDirectLines(true)

//Set the position
setPos(-238,-136)

//Rewards
setRewardExperience(4)