{
  "anvil_cost": 1,
  "description": {
    "text": "[Redirect]",
    "color": "#faab00"
  },
  "effects": {
    "minecraft:tick": [
      {
        "requirements": {
          "condition": "minecraft:entity_properties",
          "entity": "this",
          "predicate": {
            "flags": {
              "is_sneaking": true,
              "is_on_ground": true
            },
            "equipment": {
              "mainhand": {
                "items": "minecraft:shield"
              }
            }
          }
        },
        "effect": {
          "type": "minecraft:run_function",
          "function": "kiwi:enchantment_function/redirect"
        }
      }
    ]
  },
  "max_cost": {
    "base": 100,
    "per_level_above_first": 10
  },
  "max_level": 1,
  "min_cost": {
    "base": 30,
    "per_level_above_first": 10
  },
  "slots": [
    "mainhand"
  ],
  "supported_items": "minecraft:shield",
  "weight": 2
}