//bridge-file-version: #9
{
	"format_version": "1.16.100",
	"minecraft:item": {
		"description": {
			"identifier": "sp:diamond_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": "diamond_apple"
			},
			"minecraft:display_name": {
				"value": "§b钻石苹果"
			},
			"minecraft:use_animation": "eat"
		},
		"events": {
			"consumed": {
				"sequence": [
					{
						"add_mob_effect": {
							"effect": "regeneration",
							"duration": 50,
							"amplifier": 2,
							"target": "holder"
						}
					},
					{
						"add_mob_effect": {
							"effect": "strength",
							"duration": 50,
							"amplifier": 2,
							"target": "holder"
						}
					},
					{
						"add_mob_effect": {
							"effect": "health_boost",
							"duration": 60,
							"amplifier": 0,
							"target": "holder"
						}
					},
					{
						"add_mob_effect": {
							"effect": "absorption",
							"duration": 120,
							"amplifier": 1,
							"target": "holder"
						}
					}
				]
			}
		}
	}
}