Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • ItemDispensedFunction

Callable

  • Function used in "ItemDispensed" callback

    Parameters

    • coords: ItemUseCoordinates

      full coords object, where the main coords are the position of the dispenser block, relative ones are the position of the block to which the dispenser is pointed, and vec are the coords for the item to be dropped at

    • item: ItemInstance

      item that was dispensed

    • region: BlockSource

      BlockSource object

    • slot: number

      numeric id of the slot from which the item was dispensed

    Returns void

Generated using TypeDoc