//bridge-file-version: #6
{
	"format_version": "1.16.100",
	"minecraft:item": {
		"description": {
			"identifier": "sp:copper_apple"
		},
		"components": {
			"minecraft:stacked_by_data": true,
			"minecraft:use_duration": 1.6,
			"minecraft:foil": false,
			"minecraft:food": {
				"nutrition": 6,
				"saturation_modifier": "supernatural",
				"can_always_eat": true,
				"on_consume": {
					"event": "consumed",
					"target": "self"
				}
			},
			"minecraft:icon": {
				"texture": "copper_apple"
			},
			"minecraft:display_name": {
				"value": "§bCopper Apple"
			},
			"minecraft:use_animation": "eat"
		},
		"events": {
			"consumed": {
				"sequence": [
					{
						"add_mob_effect": {
							"effect": "regeneration",
							"duration": 15,
							"amplifier": 1,
							"target": "holder"
						}
					},
					{
						"add_mob_effect": {
							"effect": "absorption",
							"duration": 120,
							"amplifier": 1,
							"target": "holder"
						}
					}
				]
			}
		}
	}
}