setTitle("Generator, I Hardly Know Her") setIcon() setTranslatedDescription("advancement.sf4.age_power.simplegenerator.description") addParent("sf4:age_power/root") //Criteria criteria1 = addCriteria("Obtain Simple Combustion Generator", "minecraft:inventory_changed") criteria1.addItem() criteria2 = addCriteria("Obtain Simple Culinary Generator", "minecraft:inventory_changed") criteria2.addItem() criteria3 = addCriteria("Obtain Simple Ender Generator", "minecraft:inventory_changed") criteria3.addItem() criteria4 = addCriteria("Obtain Simple Nether Generator", "minecraft:inventory_changed") criteria4.addItem() criteria5 = addCriteria("Obtain Simple Soul Generator", "minecraft:inventory_changed") criteria5.addItem() criteria6 = addCriteria("Obtain Simple Geothermal Generator", "minecraft:inventory_changed") criteria6.addItem() criteria7 = addCriteria("Obtain Simple Fluid Combustion Generator", "minecraft:inventory_changed") criteria7.addItem() criteria8 = addCriteria("Obtain Simple Turbine Generator", "minecraft:inventory_changed") criteria8.addItem() setRewardExperience(10) setRequirements("any") hideLines() alwaysVisible() setPos(-335,121)