
//Set icon item
setIcon(<railcraft:boiler_firebox_solid>)

//Set title String
setTitle("Steam with Solid Fuels")

//Set description String
setDescription("Solid Fueled Fireboxes will accept solid fuels and water to create Steam for the Steam Boiler.")

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

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

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

drawDirectLines(true)

//Set the position
setPos(-170,135)

//Rewards
setRewardExperience(4)