Class: ItemReleaseUseAfterEvent
Contains information related to a chargeable item when the player has finished using the item and released the build action.
Constructors
new ItemReleaseUseAfterEvent()
private
new ItemReleaseUseAfterEvent():ItemReleaseUseAfterEvent
Returns
Properties
itemStack?
optional
readonly
itemStack:ItemStack
Remarks
Returns the item stack that triggered this item event.
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.