setTitle("Diagon Alley") setIcon() setTranslatedDescription("advancement.sf4.age_farming.fenceoverhaul.description") addParent("sf4:age_farming/root") hideLines() //Criteria criteria1 = addCriteria("Obtain Oak Diagonal Fence", "minecraft:inventory_changed") criteria1.addItem() criteria2 = addCriteria("Obtain Spruce Diagonal Fence", "minecraft:inventory_changed") criteria2.addItem() criteria3 = addCriteria("Obtain Birch Diagonal Fence", "minecraft:inventory_changed") criteria3.addItem() criteria4 = addCriteria("Obtain Jungle Diagonal Fence", "minecraft:inventory_changed") criteria4.addItem() criteria5 = addCriteria("Obtain Acacia Diagonal Fence", "minecraft:inventory_changed") criteria5.addItem() criteria6 = addCriteria("Obtain Dark Oak Diagonal Fence", "minecraft:inventory_changed") criteria6.addItem() setRequirements("any") //Rewards setRewardExperience(4) alwaysVisible() setPos(166,261)