{
  "parent": "survivalplus:tips/enchants/resistance",
  "display": {
    "icon": {
      "id": "minecraft:leather_chestplate",
      "components": {
        "minecraft:trim": {
          "material": "copper",
          "pattern": "vex"
        }
      }
    },
    "title": "Panic Speed",
    "description": "Applies speed when hit, obtained from The Gravedigger, max of 3 levels",
    "announce_to_chat": false,
    "hidden": true
  },
  "criteria": {
    "requirement": {
      "trigger": "minecraft:inventory_changed",
      "conditions": {
        "items": [
          {
            "predicates": {
              "minecraft:enchantments": [
                {
                  "enchantments": "survivalplus:panic_speed"
                }
              ]
            }
          }
        ]
      }
    }
  }
}