setTitle("Level Up!") setIcon() setTranslatedDescription("advancement.sf4.age_power.upgradeablegenerators.description") addParent("sf4:age_power/simpleGenerator") //Criteria criteria1 = addCriteria("Obtain Simple Upgradable Combustion Generator", "minecraft:inventory_changed") criteria1.addItem() criteria2 = addCriteria("Obtain Simple Upgradable Culinary Generator", "minecraft:inventory_changed") criteria2.addItem() criteria3 = addCriteria("Obtain Simple Upgradable Ender Generator", "minecraft:inventory_changed") criteria3.addItem() criteria4 = addCriteria("Obtain Simple Upgradable Nether Generator", "minecraft:inventory_changed") criteria4.addItem() criteria5 = addCriteria("Obtain Simple Upgradable Soul Generator", "minecraft:inventory_changed") criteria5.addItem() criteria6 = addCriteria("Obtain Simple Upgradable Geothermal Generator", "minecraft:inventory_changed") criteria6.addItem() criteria7 = addCriteria("Obtain Simple Upgradable Fluid Combustion Generator", "minecraft:inventory_changed") criteria7.addItem() criteria8 = addCriteria("Obtain Simple Upgradable Turbine Generator", "minecraft:inventory_changed") criteria8.addItem() setRewardExperience(10) setRequirements("any") drawDirectLines(true) alwaysVisible() setPos(-335,96)