Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • ItemUseFunction

Callable

  • Function used in "ItemUse" and "ItemUseLocalServer" callbacks

    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

    • isExternal: boolean
    • player: number

      player entity uID

    Returns void

Generated using TypeDoc