Foods
The Donut
- A cookie example item that uses a resource pack, Mythic Crucible, and CustomModelData to make it look like a donut. When consumed, it gives a short burst of the saturation potion effect and gives a small amount of saturation replenishment.
For info on how the "eatmeal" skill is used, check here.
donut:
Id: COOKIE
Display: 'Donut'
Model: 1
Lore:
- '&fBasic Food Item'
- '&eCan be eaten'
Skills:
- skill{s=eatmeal} ~onConsume

Netherite Candy
An example item that uses the food and consumable item components to make the normally non-edible item, edible. Using Mythic Mobs Free.
NetheriteCandy:
Material: NETHERITE_SCRAP
Display: 'Delicious Scraps'
Consumable:
ConsumeSeconds: 0.5
HasParticles: true
Animation: EAT
Food:
Nutrition: 20
Saturation: 20
CanAlwaysEat: true
{width=368 height=111}