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

//Set title String
setTitle("Best 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. Tier 3 powercells store more then their tier 1 counterparts.")

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

//Adds criteria named "hasFlint" with the trigger type "minecraft:inventory_changed". This function returns the criteria as an object
criteria = addCriteria("hasPowercellTierIII", "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:cell3>)

drawDirectLines(true)

//Set the position
setPos(-226,101)

//Rewards
setRewardExperience(4)