
//Set icon item
setIcon(<industrialforegoing:crop_enrich_material_injector>)

//Set title String
setTitle("Farming Go Brrr")

//Set description String
setDescription("The Plant Fertilizer is a machine that automatically applies bonemeal effects virtually to any crop in a given radius. Perhaps using a certain group of magical plants with it would be useful...")

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

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

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

drawDirectLines(true)

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

//Rewards
setRewardExperience(4)