setIcon("nex:amethyst_crystal")

setTitle("Detect near Pigtificate")

setDescription("Checks if a player is 5 blocks near a Pigtificate, to grant the 'Friendly Company' Advancement.")

addParent("triumph:hidden/root")

setShowToast(false)

setAnnounceToChat(false)

setRepeatTime(0)

addCriteria("location", "minecraft:location")

addRewardFunction("triumph:testfor_near_pigtificate")