//Set icon item
setIcon("immersiveengineering:tool", 3)

//Set title String
setTitle("Engineer's Manual")

//Set description String
setDescription("There tons of infos inside this book!")

//Set the parent advancement. The syntax is "modid:folder/path/to/the/advancement/then/filename"
setParent("triumph:engineer/root")

criteria = addCriteria("stone_decoration", "minecraft:inventory_changed")
criteria.addItem("immersiveengineering:tool", 3)


//Sets the requirements to be any. This means that if ANY of the criteria triggers is acquired, the advancement is acquired.
setRequirements("any")

setRewardExperience(150)