
//Set icon item
setIcon(<artisanworktables:workshop:4>)

//Set title String
setTitle("Bauble Forger")

//Set description String
setDescription("The Jewlers's Workshop is a specialized crafting table for creating various trinkets and baubles. Requires various tools and fluids outside of just the recipes.")

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

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

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

drawDirectLines(true)

//Set the position
setPos(-298,17)

//Rewards
setRewardExperience(4)