Contains information related to a chargeable item when the player has finished using the item and released the build action.

Hierarchy

  • ItemReleaseUseAfterEvent

Constructors

Properties

Constructors

Properties

itemStack?: ItemStack

Remarks

Returns the item stack that triggered this item event.

source: Player

Remarks

Returns the source entity that triggered this item event.

useDuration: number

Remarks

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