Identifier of the type of items for the stack. If a namespace is not specified, 'minecraft:' is assumed.
Optional
statusEffects: EffectData[]Adds a status effect when eat the food.
Optional
eatEvent: ((arg: ItemCompleteUseAfterEvent) => void)This event fires when eat the food.
Optional
eatThis event fires when eat the food.
Optional
statusAdds a status effect when eat the food.
Readonly
typeIdentifier of the type of items for the stack. If a namespace is not specified, 'minecraft:' is assumed.
Define a food item.