
//Set icon item
setIcon(<forestry:fabricator:0>)

//Set title String
setTitle("Makin Tubes")

//Set description String
setDescription("Thermionic Fabricators are used for making electron tubes which are essential for creating forestry multiblock farms. They melt down glass and create whatever recipe made within the interface. It is recommended to not leave these connected to a power line when not in use as they constantly drain energy.")

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

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

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

drawDirectLines(true)

//Set the position
setPos(-134,87)

//Rewards
setRewardExperience(4)