{
  "__comment": "Made by GatKong",
  "parent": "gatkong:neighbor/root",
  "display": {
    "icon": {
      "id": "minecraft:player_head",
      "components": {
        "minecraft:profile": "MHF_Villager"
      }
    },
    "title": {
      "text": "Like A Good Neighbor"
    },
    "description": {
      "text": "Visit every type of village \n§2+5,000 xp§r"
    },
    "frame": "challenge",

    "show_toast": true,
    "announce_to_chat": true,
    "hidden": false
  },
  "criteria": {
    "badlands_v": {
      "trigger": "minecraft:location",
      "conditions": {
        "player": [
          {
            "condition": "minecraft:inverted",
            "term": {
              "condition": "minecraft:entity_properties",
              "entity": "this",
              "predicate": {
                "nbt": "{playerGameType:3}"
              }
            }
          },
          {
            "condition": "minecraft:location_check",
            "predicate": {
              "structures": "gatkong:village_badlands"
            }
          }
        ]
      }
    },
    "cave_v": {
      "trigger": "minecraft:location",
      "conditions": {
        "player": [
          {
            "condition": "minecraft:inverted",
            "term": {
              "condition": "minecraft:entity_properties",
              "entity": "this",
              "predicate": {
                "nbt": "{playerGameType:3}"
              }
            }
          },
          {
            "condition": "minecraft:location_check",
            "predicate": {
              "structures": "gatkong:village_cave"
            }
          }
        ]
      }
    },
    "desert_v": {
      "trigger": "minecraft:location",
      "conditions": {
        "player": [
          {
            "condition": "minecraft:inverted",
            "term": {
              "condition": "minecraft:entity_properties",
              "entity": "this",
              "predicate": {
                "nbt": "{playerGameType:3}"
              }
            }
          },
          {
            "condition": "minecraft:location_check",
            "predicate": {
              "structures": "minecraft:village_desert"
            }
          }
        ]
      }
    },
    "f_ocean_v": {
      "trigger": "minecraft:location",
      "conditions": {
        "player": [
          {
            "condition": "minecraft:inverted",
            "term": {
              "condition": "minecraft:entity_properties",
              "entity": "this",
              "predicate": {
                "nbt": "{playerGameType:3}"
              }
            }
          },
          {
            "condition": "minecraft:location_check",
            "predicate": {
              "structures": "gatkong:village_frozen"
            }
          }
        ]
      }
    },
    "jungle_v": {
      "trigger": "minecraft:location",
      "conditions": {
        "player": [
          {
            "condition": "minecraft:inverted",
            "term": {
              "condition": "minecraft:entity_properties",
              "entity": "this",
              "predicate": {
                "nbt": "{playerGameType:3}"
              }
            }
          },
          {
            "condition": "minecraft:location_check",
            "predicate": {
              "structures": "gatkong:village_jungle"
            }
          }
        ]
      }
    },
    "mangrove_v": {
      "trigger": "minecraft:location",
      "conditions": {
        "player": [
          {
            "condition": "minecraft:inverted",
            "term": {
              "condition": "minecraft:entity_properties",
              "entity": "this",
              "predicate": {
                "nbt": "{playerGameType:3}"
              }
            }
          },
          {
            "condition": "minecraft:location_check",
            "predicate": {
              "structures": "gatkong:village_mangrove"
            }
          }
        ]
      }
    },
    "ocean_v": {
      "trigger": "minecraft:location",
      "conditions": {
        "player": [
          {
            "condition": "minecraft:inverted",
            "term": {
              "condition": "minecraft:entity_properties",
              "entity": "this",
              "predicate": {
                "nbt": "{playerGameType:3}"
              }
            }
          },
          {
            "condition": "minecraft:location_check",
            "predicate": {
              "structures": "gatkong:village_ocean"
            }
          }
        ]
      }
    },
    "plains_v": {
      "trigger": "minecraft:location",
      "conditions": {
        "player": [
          {
            "condition": "minecraft:inverted",
            "term": {
              "condition": "minecraft:entity_properties",
              "entity": "this",
              "predicate": {
                "nbt": "{playerGameType:3}"
              }
            }
          },
          {
            "condition": "minecraft:location_check",
            "predicate": {
              "structures": "minecraft:village_plains"
            }
          }
        ]
      }
    },
    "savanna_v": {
      "trigger": "minecraft:location",
      "conditions": {
        "player": [
          {
            "condition": "minecraft:inverted",
            "term": {
              "condition": "minecraft:entity_properties",
              "entity": "this",
              "predicate": {
                "nbt": "{playerGameType:3}"
              }
            }
          },
          {
            "condition": "minecraft:location_check",
            "predicate": {
              "structures": "minecraft:village_savanna"
            }
          }
        ]
      }
    },
    "snowy_v": {
      "trigger": "minecraft:location",
      "conditions": {
        "player": [
          {
            "condition": "minecraft:inverted",
            "term": {
              "condition": "minecraft:entity_properties",
              "entity": "this",
              "predicate": {
                "nbt": "{playerGameType:3}"
              }
            }
          },
          {
            "condition": "minecraft:location_check",
            "predicate": {
              "structures": "minecraft:village_snowy"
            }
          }
        ]
      }
    },
    "swamp_v": {
      "trigger": "minecraft:location",
      "conditions": {
        "player": [
          {
            "condition": "minecraft:inverted",
            "term": {
              "condition": "minecraft:entity_properties",
              "entity": "this",
              "predicate": {
                "nbt": "{playerGameType:3}"
              }
            }
          },
          {
            "condition": "minecraft:location_check",
            "predicate": {
              "structures": "gatkong:village_swamp"
            }
          }
        ]
      }
    },
    "taiga_v": {
      "trigger": "minecraft:location",
      "conditions": {
        "player": [
          {
            "condition": "minecraft:inverted",
            "term": {
              "condition": "minecraft:entity_properties",
              "entity": "this",
              "predicate": {
                "nbt": "{playerGameType:3}"
              }
            }
          },
          {
            "condition": "minecraft:location_check",
            "predicate": {
              "structures": "minecraft:village_taiga"
            }
          }
        ]
      }
    }
  },
  "requirements": [
    [
      "badlands_v"
    ],
    [
      "cave_v"
    ],
    [
      "desert_v"
    ],
    [
      "f_ocean_v"
    ],
    [
      "jungle_v"
    ],
    [
      "mangrove_v"
    ],
    [
      "ocean_v"
    ],
    [
      "plains_v"
    ],
    [
      "savanna_v"
    ],
    [
      "snowy_v"
    ],
    [
      "swamp_v"
    ],
    [
      "taiga_v"
    ]
  ],
    "rewards": {
        "function": "gatkong:reallyadventuring/announce",
        "experience": 5000
    }
}