{
  "exclusive_set": [
    "minecraft:sharpness",
    "minecraft:smite"
  ],
  "anvil_cost": 4,
  "description": "Ravenous",
  "max_cost": {
    "base": 40,
    "per_level_above_first": 0
  },
  "max_level": 5,
  "min_cost": {
    "base": 15,
    "per_level_above_first": 10
  },
  "slots": [
    "mainhand"
  ],
  "supported_items": [
    "minecraft:wooden_sword",
    "minecraft:stone_sword",
    "minecraft:iron_sword",
    "minecraft:golden_sword",
    "minecraft:diamond_sword",
    "minecraft:netherite_sword",
    "minecraft:wooden_axe",
    "minecraft:stone_axe",
    "minecraft:iron_axe",
    "minecraft:diamond_axe",
    "minecraft:netherite_axe"
  ],
  "weight": 1,
  "effects": {
    "minecraft:post_attack": [
      {
        "requirements": {
          "condition": "minecraft:entity_properties",
          "entity": "attacker",
          "predicate": {
            "equipment": {
              "mainhand": {
                "predicates": {
                  "minecraft:enchantments": [
                    {
                      "enchantments": "kiwi:ravenous",
                      "levels": 1
                    }
                  ]
                }
              }
            }
          }
        },
        "effect": {
          "type": "minecraft:run_function",
          "function": "kiwi:enchantment_function/tier_1/ravenous_1"
        },
        "enchanted": "attacker",
        "affected": "victim"
      },
      {
        "requirements": {
          "condition": "minecraft:entity_properties",
          "entity": "attacker",
          "predicate": {
            "equipment": {
              "mainhand": {
                "predicates": {
                  "minecraft:enchantments": [
                    {
                      "enchantments": "kiwi:ravenous",
                      "levels": 2
                    }
                  ]
                }
              }
            }
          }
        },
        "effect": {
          "type": "minecraft:run_function",
          "function": "kiwi:enchantment_function/tier_1/ravenous_2"
        },
        "enchanted": "attacker",
        "affected": "victim"
      },
      {
        "requirements": {
          "condition": "minecraft:entity_properties",
          "entity": "attacker",
          "predicate": {
            "equipment": {
              "mainhand": {
                "predicates": {
                  "minecraft:enchantments": [
                    {
                      "enchantments": "kiwi:ravenous",
                      "levels": 3
                    }
                  ]
                }
              }
            }
          }
        },
        "effect": {
          "type": "minecraft:run_function",
          "function": "kiwi:enchantment_function/tier_1/ravenous_3"
        },
        "enchanted": "attacker",
        "affected": "victim"
      },
      {
        "requirements": {
          "condition": "minecraft:entity_properties",
          "entity": "attacker",
          "predicate": {
            "equipment": {
              "mainhand": {
                "predicates": {
                  "minecraft:enchantments": [
                    {
                      "enchantments": "kiwi:ravenous",
                      "levels": 4
                    }
                  ]
                }
              }
            }
          }
        },
        "effect": {
          "type": "minecraft:run_function",
          "function": "kiwi:enchantment_function/tier_1/ravenous_4"
        },
        "enchanted": "attacker",
        "affected": "victim"
      },
      {
        "requirements": {
          "condition": "minecraft:entity_properties",
          "entity": "attacker",
          "predicate": {
            "equipment": {
              "mainhand": {
                "predicates": {
                  "minecraft:enchantments": [
                    {
                      "enchantments": "kiwi:ravenous",
                      "levels": 5
                    }
                  ]
                }
              }
            }
          }
        },
        "effect": {
          "type": "minecraft:run_function",
          "function": "kiwi:enchantment_function/tier_1/ravenous_5"
        },
        "enchanted": "attacker",
        "affected": "victim"
      }
    ]
  }
}