addParent("triumph:vanilla/recipes/root")

addRewardRecipe("minecraft:glass_bottle")

criteria = addCriteria("has_glass", "minecraft:inventory_changed")
criteria.addItem("minecraft:glass")

criteria = addCriteria("has_the_recipe", "minecraft:recipe_unlocked")
criteria.setRecipe("glass_bottle")

setRequirements("any")