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

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

//Set description String
setDescription("Fluid Fueled Fireboxes will accept liquid 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("hasFluidFirebox", "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_fluid>)

drawDirectLines(true)

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

//Rewards
setRewardExperience(4)