{
  "format_version": "1.16.100",
  "minecraft:item": {
    "description": {
      "identifier": "nicothekid:olivine_hoe",
      "category": "equipment"
    },
    "components": {
      "minecraft:icon": {
				"texture": "nicothekid_olivine_hoe"
			},
			"minecraft:display_name": {
				"value": "item.nicothekid:olivine_hoe.name"
			},
			"minecraft:creative_category": {
				"parent": "itemGroup.name.hoe"
			},
      "minecraft:max_stack_size": 1,
      "minecraft:foil": false,
      "minecraft:hand_equipped": true,
			"minecraft:allow_off_hand": false,
      "minecraft:durability": {
				"max_durability": 781,
				"damage_chance": {
					"min": 60,
					"max": 100
				}
			},
			"minecraft:damage": 4,
			"minecraft:mining_speed": 9,
			"minecraft:digger": {
				"use_efficiency": true,
				"on_dig": {
					"event": "on_digging",
					"target": "self"
				},
				"destroy_speeds": [
					{
						"block": "minecraft:leaves",
						"speed": 9,
						"on_dig": {
							"event": "on_digging"
						}
					},
					{
						"block": "minecraft:leaves2",
						"speed": 9,
						"on_dig": {
							"event": "on_digging"
						}
					},
					{
						"block": "minecraft:azalea_leaves",
						"speed": 9,
						"on_dig": {
							"event": "on_digging"
						}
					},
					{
						"block": "minecraft:azalea_leaves_flowered",
						"speed": 9,
						"on_dig": {
							"event": "on_digging"
						}
					},
					{
						"block": "minecraft:mangrove_leaves",
						"speed": 9,
						"on_dig": {
							"event": "on_digging"
						}
					},
					{
						"block": "minecraft:nether_wart_block",
						"speed": 9,
						"on_dig": {
							"event": "on_digging"
						}
					},
					{
						"block": "minecraft:warped_wart_block",
						"speed": 9,
						"on_dig": {
							"event": "on_digging"
						}
					},
					{
						"block": "minecraft:shroomlight",
						"speed": 9,
						"on_dig": {
							"event": "on_digging"
						}
					},
					{
						"block": "minecraft:sponge",
						"speed": 9,
						"on_dig": {
							"event": "on_digging"
						}
					},
					{
						"block": "minecraft:dried_kelp_block",
						"speed": 9,
						"on_dig": {
							"event": "on_digging"
						}
					},
					{
						"block": "minecraft:hay_block",
						"speed": 9,
						"on_dig": {
							"event": "on_digging"
						}
					},
					{
						"block": "minecraft:target",
						"speed": 9,
						"on_dig": {
							"event": "on_digging"
						}
					},
					{
						"block": "minecraft:moss_block",
						"speed": 9,
						"on_dig": {
							"event": "on_digging"
						}
					},
					{
						"block": "minecraft:sculk",
						"speed": 9,
						"on_dig": {
							"event": "on_digging"
						}
					},
					{
						"block": "minecraft:sculk_vein",
						"speed": 9,
						"on_dig": {
							"event": "on_digging"
						}
					},
					{
						"block": "minecraft:sculk_catalyst",
						"speed": 9,
						"on_dig": {
							"event": "on_digging"
						}
					},
					{
						"block": "minecraft:sculk_sensor",
						"speed": 9,
						"on_dig": {
							"event": "on_digging"
						}
					},
					{
						"block": "minecraft:sculk_shrieker",
						"speed": 9,
						"on_dig": {
							"event": "on_digging"
						}
					}
				]
			},
			"minecraft:enchantable": {
				"value": 10,
				"slot": "hoe"
			},
			"minecraft:repairable": {
				"repair_items": [
					{
						"items": [
							"nicothekid:olivine_hoe"
						],
						"repair_amount": "query.remaining_durability"
					},
					{
						"items": [
							"nicothekid:olivine"
						],
						"repair_amount": 390
					}
				]
			},
			"minecraft:use_on": {
				"blocks": [
					"grass",
					"dirt",
					"grass_path"
				]
			},
			"minecraft:weapon": {
				"on_hurt_entity": {
					"event": "on_digging"
				}
			},
			"tag:minecraft:is_hoe": {},
			"tag:olivine_hoe": {},
			"tag:hoe": {},
			"tag:melee_weapon": {}
    },
    "events": {
			"on_digging": {
				"damage": {
					"target": "self",
					"type": "durability",
					"amount": 1
				}
			},
			"on_tool_used": {
				"damage": {
					"target": "self",
					"type": "durability",
					"amount": 1
				}
			}
		}
  }
}
