Contains information regarding the use of an item.
export class ItemComponentUseEvent { private constructor(); readonly itemStack?: ItemStack; readonly source: Player;} Copy
export class ItemComponentUseEvent { private constructor(); readonly itemStack?: ItemStack; readonly source: Player;}
Private
Optional
Readonly
The item stack when the item was used.
This property can't be read in early-execution mode.
The player who used the item.
Contains information regarding the use of an item.
Source