
//Set icon item
setIcon(<immersiveengineering:tool:0>)

//Set title String
setTitle("Hammer Time but for Nerds")

//Set description String
setDescription("The Engineer's Hammer is a tool used to create metal plates, as well as activate immersive engineering multi-block structures by right clicking on them.")

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

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

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

drawDirectLines(true)

//Set the position
setPos(86,-24)

//Rewards
setRewardExperience(4)