Перейти к основному содержанию

Callback.DestroyBlockFunction

Function used in "DestroyBlock" and "DestroyBlockStart" callbacks.

Callable


  • Parameters

    • coords: ItemUseCoordinates

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

    • block: BlockState | Tile

      block that is destroyed (since 3.1.1b127 passes BlockState)

    • playerUid: number

      player entity unique numeric ID

    Returns void