Skip to main content

Class: ItemComponentUseEvent

Contains information regarding the use of an item.

Constructors

new ItemComponentUseEvent()

private new ItemComponentUseEvent(): ItemComponentUseEvent

Returns

ItemComponentUseEvent

Properties

itemStack?

optional readonly itemStack: ItemStack

Remarks

The item stack when the item was used.


source

readonly source: Player

Remarks

The player who used the item.