//Set icon item
setIcon(<tconstruct:tooltables, meta:3>)

//Set title String
setTitle("Tool Station")

//Set description String
setDescription("The Tool station is the table you use to craft your weapons and tools.")

//Add a parent advancement. The syntax is "modid:folder/path/to/the/advancement/then/filename"
addParent("triumph:tinkers/pattern")
setRequiresParent(true)

//Set the position
setPos(11, 14)

//Set this to use direct lines, so I can have a pretty shape
drawDirectLines(true)

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

//Adds the required item for the criteria. This is the item that needs to be in the player inventory.
criteria.addItem(<tconstruct:tooltables, meta:3>)