{
	"format_version": "1.16.100",
	"minecraft:item": {
		"description": {
			"identifier": "bd:huggy_bite",
			"category": "command"
		},
		"components": {
			"minecraft:max_stack_size": 1,
			"minecraft:use_duration": 6,
			"minecraft:cooldown": {
				"duration": 10,
				"category": "huggy_bite_cooldown"
			},
			"minecraft:icon": {
				"texture": "huggy_bite"
			},
			"minecraft:display_name": {
				"value": "§6§lBite"
			},
			"minecraft:use_animation": "bow",
			"minecraft:on_use": {
				"on_use": {
					"event": "bd:shoot",
					"target": "self"
				}
			},
			"minecraft:render_offsets": {
			    "main_hand": {
			        "third_person": {
			            "scale": [0, 0, 0]
			        }
			    }
			},
			"minecraft:hand_equipped": true
		},
		"events": {
			"bd:shoot": {
				"condition": "query.main_hand_item_max_duration > 3",
				"sequence": [
					{
						"run_command": {
						  "command": [
							"event entity @s bd:huggy_catch"
						  ],
						  "target": "holder"
						}
					}
				]
			}
		}
	}
}