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

//Set title String
setTitle("Monster Box")

setFrameType("challenge")

//Set description String
setDescription("Kill 10 Mimics. Must complete previous 3 achievements as well. (Mimics are special because they ALWAYS drop 1 Artifact!) REWARD: 1 Mimic Egg, 1 Spawner and 20 Diamonds")

//Add a parent advancement. The syntax is "modid:folder/path/to/the/advancement/then/filename"
addParent("triumph:example/row3/example_kill_spiders")
addParent("triumph:example/row3/example_kill_zombies")
addParent("triumph:example/row3/example_kill_skeletons")


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

//Hide the connection lines, so I can have a pretty shape
//hideLines()

setRequiresParents()

criteria = addCriteria("Killed 10 Mimics", "minecraft:player_killed_entity")
criteria.setEntityType("artifacts:mimic")

criteria.setCount(10)

addRewardFunction("triumph:give_mimic_egg")