
//Set icon item
setIcon(<aether_legacy:skyroot_chest>)

//Set title String
setTitle("MORE MIMICS?")

//Set description String
setDescription("Watch out for mimics in the Valkyrie temples!")

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

//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("aether_legacy:mimic")

drawDirectLines(true)

//Set the position
setPos(-240,-40)

//Rewards
setRewardExperience(4)