
//Set icon item
setIcon(<projecte:item.pe_ignition>)

//Set title String
setTitle("The Ring of Fire")

//Set description String
setDescription("The Ignition Ring is a tool that can set nearby blocks on fire and shoot fireballs when a player has some kind of EMC fuel source. Just don't be near your wooden house when it is active.")

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

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

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

drawDirectLines(true)

//Set the position
setPos(-427,72)

//Rewards
setRewardExperience(4)