Interface in @minecraft/server
Extended by ItemStartUseAfterEvent, ItemCompleteUseAfterEvent, ItemReleaseUseAfterEvent, ItemStopUseAfterEvent
An item used over time: a food, drink, bow or trident.
import type { ItemUseOverTimeEvent } from '@minecraft/server';Properties
Section titled “Properties”source
Section titled “source”read-only
readonly source: Player;Types
itemStack
Section titled “itemStack”read-only
readonly itemStack: ItemStack;Types
useDuration
Section titled “useDuration”read-only
readonly useDuration: number;Ticks left of the use: a food’s eating time, or 72000 less the ticks a bow was drawn.