mcutils:cake 
Vanilla cake block behavior.
Component 
Options 
| Name | Type | Default | Description | 
|---|---|---|---|
| slice_state | string | mcutils:slices | |
| max_slices | number | 6 | |
| nutrition | number | 2 | |
| saturation_modifier | number | 0 | |
| interactions | string[] | [] | 
Examples 
Cake 
json
{
  "format_version": "1.21.120",
  "minecraft:block": {
    "description": {
      "identifier": "wiki:custom_cake",
      "states": {
        "mcutils:slice": [0, 1, 2, 3, 4, 5, 6]
      }
    },
    "components": {
      "mcutils:cake": {
        "slice_state": "mcutils:slice",
        "max_slices": 6,
        "nutrition": 2,
        "saturation_modifier": 0.4,
        "interactions": ["candle->wiki:candle_cake"]
      }
    }
  }
}