//bridge-file-version: #6
{
	"format_version": "1.17.0",
	"minecraft:item": {
		"description": {
			"identifier": "nether:magma_sword",
			"category": "equipment"
		},
		"components": {
			"minecraft:icon": {
				"texture": "magma_sword"
			},
			"minecraft:max_stack_size": 1,
			"minecraft:hand_equipped": true,
			"minecraft:can_destroy_in_creative": false,
			"minecraft:weapon": {
				"on_hurt_entity": {
					"event": "durability_update"
				}
			},
			"minecraft:damage": 7,
			"minecraft:creative_category": {
				"parent": "itemGroup.name.sword"
			},
			"minecraft:durability": {
				"max_damage": 250
			},
			"minecraft:mining_speed": 1.5,
			"minecraft:enchantable": {
				"value": 10,
				"slot": "sword"
			},
			"minecraft:digger": {
				"use_efficiency": true,
				"destroy_speeds": [
					{
						"block": "minecraft:web",
						"speed": 15
					},
					{
						"block": "minecraft:bamboo",
						"speed": 10
					}
				],
				"on_dig": {
					"event": "durability_update"
				}
			}
		},
		"events": {
			"durability_update": {
				"damage": {
					"type": "durability",
					"amount": 1,
					"target": "self"
				}
			}
		}
	}
}