
//Set icon item
setIcon(<inspirations:edibles:0>)

//Set title String
setTitle("Healthy Beetroots")

//Set description String
setDescription("Heartbeets rarely drop from fully grown beetroot crops. When eaten, they give 5 seconds of regeneration and restore slightly more hunger than normal beetroots. They can additionally be used in a brewing stand to make a potion of regeneration.")

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

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

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

setRequirements("any")
setPos(-163,143)