{
  "model": {
    "type": "minecraft:select",
    "property": "minecraft:component",
    "component": "minecraft:enchantments",
    "cases": [
      { "when": { "minecraft:breach": 1 }, "model": { "type": "minecraft:model", "model": "minecraft:item/mace_enchanted" } },
      { "when": { "minecraft:breach": 2 }, "model": { "type": "minecraft:model", "model": "minecraft:item/mace_enchanted" } },
      { "when": { "minecraft:breach": 3 }, "model": { "type": "minecraft:model", "model": "minecraft:item/mace_enchanted" } },
      { "when": { "minecraft:breach": 4 }, "model": { "type": "minecraft:model", "model": "minecraft:item/mace_enchanted" } },

      { "when": { "minecraft:density": 1 }, "model": { "type": "minecraft:model", "model": "minecraft:item/mace_enchanted" } },
      { "when": { "minecraft:density": 2 }, "model": { "type": "minecraft:model", "model": "minecraft:item/mace_enchanted" } },
      { "when": { "minecraft:density": 3 }, "model": { "type": "minecraft:model", "model": "minecraft:item/mace_enchanted" } },
      { "when": { "minecraft:density": 4 }, "model": { "type": "minecraft:model", "model": "minecraft:item/mace_enchanted" } },
      { "when": { "minecraft:density": 5 }, "model": { "type": "minecraft:model", "model": "minecraft:item/mace_enchanted" } },

      { "when": { "minecraft:wind_burst": 1 }, "model": { "type": "minecraft:model", "model": "minecraft:item/mace_enchanted" } },
      { "when": { "minecraft:wind_burst": 2 }, "model": { "type": "minecraft:model", "model": "minecraft:item/mace_enchanted" } },
      { "when": { "minecraft:wind_burst": 3 }, "model": { "type": "minecraft:model", "model": "minecraft:item/mace_enchanted" } },

      { "when": { "minecraft:sharpness": 1 }, "model": { "type": "minecraft:model", "model": "minecraft:item/mace_enchanted" } },
      { "when": { "minecraft:sharpness": 2 }, "model": { "type": "minecraft:model", "model": "minecraft:item/mace_enchanted" } },
      { "when": { "minecraft:sharpness": 3 }, "model": { "type": "minecraft:model", "model": "minecraft:item/mace_enchanted" } },
      { "when": { "minecraft:sharpness": 4 }, "model": { "type": "minecraft:model", "model": "minecraft:item/mace_enchanted" } },
      { "when": { "minecraft:sharpness": 5 }, "model": { "type": "minecraft:model", "model": "minecraft:item/mace_enchanted" } },

      { "when": { "minecraft:smite": 1 }, "model": { "type": "minecraft:model", "model": "minecraft:item/mace_enchanted" } },
      { "when": { "minecraft:smite": 2 }, "model": { "type": "minecraft:model", "model": "minecraft:item/mace_enchanted" } },
      { "when": { "minecraft:smite": 3 }, "model": { "type": "minecraft:model", "model": "minecraft:item/mace_enchanted" } },
      { "when": { "minecraft:smite": 4 }, "model": { "type": "minecraft:model", "model": "minecraft:item/mace_enchanted" } },
      { "when": { "minecraft:smite": 5 }, "model": { "type": "minecraft:model", "model": "minecraft:item/mace_enchanted" } },

      { "when": { "minecraft:bane_of_arthropods": 1 }, "model": { "type": "minecraft:model", "model": "minecraft:item/mace_enchanted" } },
      { "when": { "minecraft:bane_of_arthropods": 2 }, "model": { "type": "minecraft:model", "model": "minecraft:item/mace_enchanted" } },
      { "when": { "minecraft:bane_of_arthropods": 3 }, "model": { "type": "minecraft:model", "model": "minecraft:item/mace_enchanted" } },
      { "when": { "minecraft:bane_of_arthropods": 4 }, "model": { "type": "minecraft:model", "model": "minecraft:item/mace_enchanted" } },
      { "when": { "minecraft:bane_of_arthropods": 5 }, "model": { "type": "minecraft:model", "model": "minecraft:item/mace_enchanted" } },

      { "when": { "minecraft:fire_aspect": 1 }, "model": { "type": "minecraft:model", "model": "minecraft:item/mace_enchanted" } },
      { "when": { "minecraft:fire_aspect": 2 }, "model": { "type": "minecraft:model", "model": "minecraft:item/mace_enchanted" } },

      { "when": { "minecraft:knockback": 1 }, "model": { "type": "minecraft:model", "model": "minecraft:item/mace_enchanted" } },
      { "when": { "minecraft:knockback": 2 }, "model": { "type": "minecraft:model", "model": "minecraft:item/mace_enchanted" } },

      { "when": { "minecraft:looting": 1 }, "model": { "type": "minecraft:model", "model": "minecraft:item/mace_enchanted" } },
      { "when": { "minecraft:looting": 2 }, "model": { "type": "minecraft:model", "model": "minecraft:item/mace_enchanted" } },
      { "when": { "minecraft:looting": 3 }, "model": { "type": "minecraft:model", "model": "minecraft:item/mace_enchanted" } },

      { "when": { "minecraft:sweeping_edge": 1 }, "model": { "type": "minecraft:model", "model": "minecraft:item/mace_enchanted" } },
      { "when": { "minecraft:sweeping_edge": 2 }, "model": { "type": "minecraft:model", "model": "minecraft:item/mace_enchanted" } },
      { "when": { "minecraft:sweeping_edge": 3 }, "model": { "type": "minecraft:model", "model": "minecraft:item/mace_enchanted" } },

      { "when": { "minecraft:unbreaking": 1 }, "model": { "type": "minecraft:model", "model": "minecraft:item/mace_enchanted" } },
      { "when": { "minecraft:unbreaking": 2 }, "model": { "type": "minecraft:model", "model": "minecraft:item/mace_enchanted" } },
      { "when": { "minecraft:unbreaking": 3 }, "model": { "type": "minecraft:model", "model": "minecraft:item/mace_enchanted" } },

      { "when": { "minecraft:mending": 1 }, "model": { "type": "minecraft:model", "model": "minecraft:item/mace_enchanted" } }
    ],
    "fallback": { "type": "minecraft:model", "model": "minecraft:item/mace" }
  }
}
