Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • PlaceFunction

Callable

  • Function used to determine when block is placed in the world

    Parameters

    • coords: ItemUseCoordinates

      set of all coordinate values that can be useful to write custom use logics

    • item: ItemInstance

      item that was in the player's hand when he touched the block

    • block: Tile

      block that was touched

    • player: number

      Player unique id

    • region: BlockSource

      BlockSource object

    Returns void | Vector

    coordinates where to actually place the block, or void for default placement

Generated using TypeDoc