Contains information related to a food item being consumed.
export class ItemComponentConsumeEvent { private constructor(); readonly itemStack: ItemStack; readonly source: Entity;} Copy
export class ItemComponentConsumeEvent { private constructor(); readonly itemStack: ItemStack; readonly source: Entity;}
Private
Readonly
The item stack that was consumed.
This property can't be read in early-execution mode.
The source entity that consumed the item.
Contains information related to a food item being consumed.
Source