{
  "display": {
    "icon": {
      "id": "minecraft:enchanted_book",
      "count": 1
    },
    "title": {
      "translate": "advancement.dnt.story.librarian_illager.title",
      "fallback": "Secrets of the Illager"
    },
    "description": {
      "translate": "advancement.dnt.story.librarian_illager",
      "fallback": "Level up a novice Librarian in an Illager Hideout or Manor, then trade for their exclusive book"
    },
    "frame": "goal",
    "show_toast": true,
    "announce_to_chat": true,
    "hidden": false
  },
  "parent": "nova_structures:adventure/find_illager_manor",
  "criteria": {
    "dnt_trade_enchant_illager": {
      "trigger": "minecraft:villager_trade",
      "conditions": {
        "villager": {
          "nbt": "{Tags:[\"dnt_librarian_illager\",\"trade2added\"]}"
        },
        "item": {
          "items": "minecraft:enchanted_book",
          "predicates": {
            "minecraft:stored_enchantments": [
              {
                "enchantments": "#nova_structures:librarian_secret_offer/illager"
              }
            ]
          }
        }
      }
    }
  },
  "requirements": [
    [
      "dnt_trade_enchant_illager"
    ]
  ],
  "sends_telemetry_event": false
}