Interface ItemUseFunction

Function used in "ItemUseServer" and "ItemUseLocal" 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 it touched the block

    • block: Tile

      block that was touched

    • playerUid: number

      player entity UID

    Returns void

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