{
    "function": "set_components",
    "components": {
        "custom_data": {
          "or_is_food": true,
          "or_food_type": "enchanted_golden_apple"
        },
        "max_stack_size": 1,
        "max_damage": 10000,
        "damage": 1,
        "food": {
            "nutrition": 4,
            "saturation": 9.6,
            "can_always_eat": true
        },
        "consumable": {
            "consume_seconds": 3.0,
      "on_consume_effects": [
        {
          "type": "minecraft:apply_effects",
          "effects": [
            {
              "amplifier": 1,
              "duration": 400,
              "id": "minecraft:regeneration",
              "show_icon": true
            },
            {
              "duration": 6000,
              "id": "minecraft:resistance",
              "show_icon": true
            },
            {
              "duration": 6000,
              "id": "minecraft:fire_resistance",
              "show_icon": true
            },
            {
              "amplifier": 3,
              "duration": 2400,
              "id": "minecraft:absorption",
              "show_icon": true
            }
          ]
        }
      ]
    }
  }
}