Skip to main content

Class: ItemStartUseAfterEvent

Contains information related to a chargeable item starting to be charged.

Constructors

new ItemStartUseAfterEvent()

private new ItemStartUseAfterEvent(): ItemStartUseAfterEvent

Returns

ItemStartUseAfterEvent

Properties

itemStack

readonly itemStack: ItemStack

Remarks

The impacted item stack that is starting to be charged.


source

readonly source: Player

Remarks

Returns the source entity that triggered this item event.


useDuration

readonly useDuration: number

Remarks

Returns the time, in ticks, for the remaining duration left before the charge completes its cycle.