Skip to main content

Class: ItemCompleteUseAfterEvent

Contains information related to a chargeable item completing being charged.

Constructors

new ItemCompleteUseAfterEvent()

private new ItemCompleteUseAfterEvent(): ItemCompleteUseAfterEvent

Returns

ItemCompleteUseAfterEvent

Properties

itemStack

readonly itemStack: ItemStack

Remarks

Returns the item stack that has completed charging.


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.