@minecraft/server / ItemReleaseUseAfterEvent
Class: ItemReleaseUseAfterEvent ​
Defined in: @minecraft/server/index.d.ts:14380
Contains information related to a chargeable item when the player has finished using the item and released the build action.
Properties ​
itemStack? ​
readonlyoptionalitemStack?:ItemStack
Defined in: @minecraft/server/index.d.ts:14387
Remarks ​
Returns the item stack that triggered this item event.
source ​
readonlysource:Player
Defined in: @minecraft/server/index.d.ts:14393
Remarks ​
Returns the source entity that triggered this item event.
useDuration ​
readonlyuseDuration:number
Defined in: @minecraft/server/index.d.ts:14400
Remarks ​
Returns the time, in ticks, for the remaining duration left before the charge completes its cycle.