For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt, and this page is available as Markdown at /server/classes/ItemStartUseAfterEvent.md.

Class: ItemStartUseAfterEvent

event

Beta

包含与可蓄力物品开始蓄力相关的信息。

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

Properties

itemStack

readonly itemStack: ItemStack

Beta

Remarks

正在开始蓄力的受影响的物品堆。

The impacted item stack that is starting to be charged.


source

readonly source: Player

Beta

Remarks

返回触发此物品事件的源实体。

Returns the source entity that triggered this item event.


useDuration

readonly useDuration: number

Beta

Remarks

返回距蓄力完成周期还剩余的时长(以刻为单位)。

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

同领域相关