
//Set icon item
setIcon(<astralsorcery:blockaltar>)

//Set title String
setTitle("Crafting with Star Magic")

//Set description String
setDescription("The Luminous Crafting table is a special crafting table for creating Astral Sorcery items. It absorbs starlight at night for crafting.")

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

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

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

drawDirectLines(true)

//Set the position
setPos(-274,163)

//Rewards
setRewardExperience(4)