{
	"format_version": "1.17.0",
	"minecraft:item": {
		"description": {
			"identifier": "agp:stone_pickaxe",
			"category": "equipment"
		},
		"components": {
			"minecraft:max_stack_size": 1,
			"minecraft:hand_equipped": true,
			"minecraft:mining_speed": 1,
			"minecraft:creative_category": {
				"parent": "none"
			},
			"minecraft:digger": {
				"use_efficiency": true,
				"destroy_speeds": [
					{
						"block": {
							"tags": "query.any_tag('stone', 'metal', 'stone_pick_diggable')"
						},
						"speed": 4,
						"on_dig": {
							"event": "loseDuration"
						}
					},
					{
						"block": {
							"tags": "query.any_tag('agp_diggable')"
						},
						"speed": 3,
						"on_dig": {
							"event": "loseDuration"
						}
					},
					{
						"block": "minecraft:ice",
						"speed": 4,
						"on_dig": {
							"event": "loseDuration"
						}
					},
					{
						"block": "minecraft:sandstone",
						"speed": 4,
						"on_dig": {
							"event": "loseDuration"
						}
					}
				]
			},
			"minecraft:icon": {
				"texture": "stone_pickaxe"
			},
			"minecraft:display_name": {
				"value": "Stone Pickaxe"
			},
			"minecraft:enchantable": {
				"value": 5,
				"slot": "pickaxe"
			},
			"minecraft:durability": {
				"max_durability": 131
			},
			"minecraft:damage": 3,
			"minecraft:weapon": {
				"on_hurt_entity": {
					"event": "loseDuration"
				}
			}
		},
		"events": {
			"loseDuration": {
				"randomize": [
					{
						"damage": {
							"type": "durability",
							"target": "self",
							"amount": 1
						}
					},
					{
						"damage": {
							"type": "durability",
							"target": "self",
							"amount": 2
						}
					}
				]
			}
		}
	}
} //Made by ItzJeremicer