Interface BreakBlockFunction

Function used in "BreakBlock" callback.

  • Parameters

    • region: BlockSource
    • coords: ItemUseCoordinates

      coordinates where the block is placed and side from where it is placed

    • block: Tile

      block that is placed

    • dropAllowed: boolean
    • playerUid: number

      player entity unique numeric ID

    • item: ItemInstance

      item that was in the player's hand when it breaked the block

    Returns void

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