Callback.ItemDispensedFunction
Callable
Parameters
coords: ItemUseCoordinates
full coords object, where the main coords are the position of the dispenser block,
relativeones are the position of the block to which the dispenser is pointed, andvecare the coords for the item to be dropped atitem: ItemInstance
item that was dispensed
region: BlockSource
BlockSource object
slot: number
numeric ID of the slot from which the item was dispensed
Returns void
Function used in "ItemDispensed" callback.