{
  "display": {
    "icon": {
      "id": "minecraft:powder_snow_bucket"
    },
    "title": "Cold Feet",
    "description": "Upgrade a sentry to give a slowing effect",
    "show_toast": false,
    "announce_to_chat": true
  },
  "parent": "survivalplus:adventure/tools/tome",
  "criteria": {
    "requirement": {
      "trigger": "minecraft:player_interacted_with_entity",
      "conditions": {
        "item": {
          "predicates": {
            "minecraft:enchantments": [
              {
                "enchantments": "minecraft:frost_walker",
                "levels": {
                  "min": 1,
                  "max": 2
                }
              }
            ]
          }
        },
        "entity": {
          "nbt": "{Tags:[sentry]}"
        }
      }
    }
  }
}