
//Set icon item
setIcon(<rftoolspower:cell1>)

//Set title String
setTitle("Modular Power Storage")

//Set description String
setDescription("Powercells also store energy, however, multiple can be combined into a multiblock structure to easily use and saves space.")

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

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

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

drawDirectLines(true)

//Set the position
setPos(-496,44)

//Rewards
setRewardExperience(4)