
//Set icon item
setIcon(<excompressum:auto_sieve>)

//Set title String
setTitle("Gloves not Required")

//Set description String
setDescription("Using an autosieve will automate the tedious process of sieving. You will still need to use the appropriate meshes for the appropriate materials.")

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

//Adds criteria named "hasFlint" with the trigger type "minecraft:inventory_changed". This function returns the criteria as an object
criteria = addCriteria("hasAutoSieve", "minecraft:inventory_changed")

//Adds the required item for the criteria. This is the item that needs to be in the player inventory.
criteria.addItem(<excompressum:auto_sieve>)

drawDirectLines(true)

//Set the position
setPos(-155,-8)

//Rewards
setRewardExperience(4)