{
  "format_version": "1.16.100",
  "minecraft:item": {
    "description": {
      "identifier": "tm:e_d",
	  "category": "equipment"
    },
    "components": {
      "tag:bainha_dual_empty": {},
	  "minecraft:creative_category": {
		"parent": "itemGroup.name.sword"
      },
      "minecraft:icon": {
        "texture": "e&d",
        "frame_index": 0
      },
	"minecraft:render_offsets": {
		"off_hand": {
	        "first_person": {
				"position": [0, -999, 0]
			},
	        "third_person": {
				"position": [0, -999, 0]
			}
		}
	},
		"minecraft:display_name": {
        "value": "ElucidatorDark Repulser \n§9Sword Art Online"
      },
      "minecraft:max_stack_size": 1,
      "minecraft:hand_equipped": true,
      "minecraft:allow_off_hand": true,
      "minecraft:foil": false,
	  "minecraft:durability": {
		"max_durability": 2500,
			"damage_chance": {
			"min": 60,
			"max": 100
		}
      },
      "minecraft:repairable": {
        "repair_items": [
          {
            "items": [ "tm:crystallite, tm:black_diamond" ]
          }
        ]
      },
      "minecraft:damage": 45,
      "minecraft:enchantable": {
        "value": 35,
        "slot": "sword"
      },
	  "minecraft:weapon": {
		"on_hurt_entity": {
		  "event": "durability"
	  },
	  "on_not_hurt_entity": {
		  "event": "durability"
	  },
	  "on_hit_block": {
		  "event": "durability"
		}
	  },
      "minecraft:use_duration": 5,

	  "minecraft:cooldown": {
		"category": "slc",
		"duration": 3
      },
	  "minecraft:on_use": {
		"on_use": {
		  "event": "shot"
		}
	  },
      "minecraft:can_destroy_in_creative": false,
      "minecraft:digger": {
        "use_efficiency": true,
        "destroy_speeds": [
          {
            "block": "minecraft:web",
  			"speed": 15,
		"on_dig": {
		"event": "durability"
		      }
		    },
          {
            "block": "minecraft:bamboo",
  			"speed": 10,
		"on_dig": {
		"event": "durability"
		      }
		    }
          ]
        }
      },
	  "events": {
     "shot": {
		"run_command": {
		  "command": [
	    "playanimation @s animation.dual_blades.attack2"
	       ]
		 },
        "shoot": {
      "projectile": "item:projetil",
      "launch_power": 4,
      "angle_offset": "q.cardinal_facing"
        },
        "damage": {
      "type": "magic",
      "amount": 1
        }
        },
		"durability": {
		"damage": {
		"type": "none",
		"amount": 1,
		"target": "self"
		}
	  }
	}
  }
}