{
    "anvil_cost": 8,
    "description": "Resourceful",
    "effects": {
      "minecraft:ammo_use": [
        {
          "effect": {
            "type": "minecraft:set",
            "value": 0
          },
          "requirements": [
            {
              "condition": "minecraft:random_chance",
              "chance": {
                "type": "minecraft:enchantment_level",
                "amount": {
                  "type": "minecraft:linear",
                  "base": 0.1,
                  "per_level_above_first": 0.1
                }
              }
            },
            {
              "condition": "minecraft:match_tool",
              "predicate": {
                "items": "minecraft:arrow"
              }
            }
          ]
        }
      ]
    },
    "max_cost": {
      "base": 50,
      "per_level_above_first": 0
    },
    "max_level": 3,
    "min_cost": {
      "base": 20,
      "per_level_above_first": 0
    },
    "slots": [
      "mainhand"
    ],
    "supported_items": [
      "minecraft:bow",
      "minecraft:crossbow"
    ],
    "weight": 1
  }