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

//Set title String
setTitle("KILL IT WITH FIRE")

//Set description String
setDescription("Slain Mother Spider")

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

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

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

drawDirectLines(true)

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

//Rewards
setRewardExperience(4)