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

//Set title String
setTitle("He Tried to Eat Me")

//Set description String
setDescription("Mimics are mobs often scattered throughout the paradise. They always drop a rare bauble that will help one in their journey through this world.")

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

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

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

drawDirectLines(true)

//Set the position
setPos(-236,-20)

//Rewards
setRewardExperience(4)