
//Set icon item
setIcon(<forestry:beehives:2>)

//Set title String
setTitle("NOT THE BEES!")

//Set description String
setDescription("Forestry Beehives are blocks scattered throughout the world that contian bees. They can be harvested with a scoop.")

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

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

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

drawDirectLines(true)

//Set the position
setPos(15,57)

//Rewards
setRewardExperience(4)