{
    "format_version": "1.16.100",
    "minecraft:item": {
        "description": {
            "category": "equipment",
            "identifier": "cases:aphrodite"
        },
        "components": {
            "minecraft:creative_category": {
                "parent": "itemGroup.name.sword"
            },
            "minecraft:max_stack_size": 1,
            "minecraft:use_duration": 2,
            "minecraft:hand_equipped": true,
            "minecraft:durability":{
               "max_durability":2000
            },
            "minecraft:mining_speed": 1.5,
            "minecraft:damage": 18,
            "minecraft:enchantable": {
                "value": 10,
                "slot": "sword"
            },
            "minecraft:icon": {
                "texture": "aphrodite"
            },
            "minecraft:display_name": {
                "value": "Aphrodite\n§5Mythical\n§7Healing II"
            },
            "minecraft:can_destroy_in_creative": false,
            "minecraft:digger": {
                "use_efficiency": true,
                "destroy_speeds": [
                    {
                        "block": "minecraft:web",
                        "speed": 15
                    },
                    {
                        "block": "minecraft:bamboo",
                        "speed": 10
                    }
                ]
            },
         "minecraft:on_use":{
            "on_use":{
               "event":"used"
            }
         },
         "minecraft:weapon":{
            "on_hurt_entity":{
               "event":"effect"
            }
         }
      },
      "events":{
         "effect":{
            "damage":{
               "type":"magic",
               "amount":1,
               "target":"self"
            },
            "run_command":{
               "command":[
                  "effect @p regeneration 5 1 true"
               ]
            }
         },
         "used":{
            "swing":{
            },
            "run_command":{
               "command":[
                  "effect @p regeneration 5 1 true"
               ]
            },
            "damage":{
               "type":"magic",
               "amount":1,
               "target":"self"
            }
         }
      }
   }
}