Class ItemStartChargeEvent

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

Hierarchy

  • ItemStartChargeEvent

Constructors

Properties

Constructors

Properties

itemStack: ItemStack

The impacted item stack that is starting to be charged.

source: Entity

Returns the source entity that triggered this item event.

useDuration: number

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