
//Set icon item
setIcon(<extrautils2:ingredients:10>)

//Set title String
setTitle("Hyper Cursed")

//Set description String
setDescription("A Drop of Evil is a rare drop from Wither Skeletons. Creates Cursed Earth on an area of grass when right clicked against a grass block, which will spawn monsters very frequently when in darkness.")

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

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

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

drawDirectLines(true)

//Set the position
setPos(-267,-50)

//Rewards
setRewardExperience(4)