{
  "display": {
    "icon": {
      "id": "minecraft:iron_sword"
    },
    "title": "Wait... That Worked?",
    "description": "Consume a Raid Potion in a Village",
    "frame": "task",
    "show_toast": true,
    "announce_to_chat": true,
    "hidden": false
  },
  "parent": "mt:treasure_advancements/first_rare_dark_forest_treasure",
  "criteria": {
    "requirement": {
      "trigger": "minecraft:effects_changed",
      "conditions": {
        "player": [
          {
            "condition": "minecraft:entity_properties",
            "entity": "this",
            "predicate": {}
          }
        ],
        "effects": {
          "minecraft:bad_omen": {
            "duration": 20,
            "visible": true
          }
        }
      }
    }
  }
}
