{
  "anvil_cost": 15,
  "description": "Webbing",
  "effects": {
    "minecraft:post_attack": [
      {
        "affected": "victim",
        "effect": {
          "type": "minecraft:all_of",
          "effects": [
            {
              "type": "minecraft:run_function",
              "function": "kiwi:enchantment_function/webbing"
            }
          ]
        },
        "enchanted": "attacker",
        "requirements": {
          "condition": "minecraft:damage_source_properties",
          "predicate": {
            "is_direct": true
          }
        }
      }
    ]
  },
  "max_cost": {
    "base": 60,
    "per_level_above_first": 20
  },
  "max_level": 1,
  "min_cost": {
    "base": 10,
    "per_level_above_first": 20
  },
  "primary_items": "#minecraft:enchantable/sharp_weapon",
  "slots": [
    "mainhand"
  ],
  "supported_items": "#minecraft:enchantable/sharp_weapon",
  "weight": 2
}