Interface ItemDispensedFunction

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

Copyright © 2024 Nernar. Copyright © 2020 #mineprogramming. Built with ❤ and TypeDoc.