Class ItemStopUseAfterEventBeta

Contains information related to a chargeable item has finished an items use cycle, or when the player has released the use action with the item.

Hierarchy

  • ItemStopUseAfterEvent

Constructors

Properties

Constructors

Properties

itemStack: ItemStack

Remarks

The impacted item stack that is stopping being charged.

source: Entity

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.