类 ItemReleaseUseAfterEvent实验性

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

属性

itemStack?: ItemStack

Returns the item stack that triggered this item event.

source: Player

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.