canUseItem

suspend fun canUseItem(tileEntity: TileEntity, item: ItemStack, location: Location): Boolean

Checks if the tileEntity can use that item at that location.


suspend fun canUseItem(player: OfflinePlayer, item: ItemStack, location: Location): Boolean
fun canUseItem(player: Player, item: ItemStack, location: Location): Boolean

Checks if the player can use that item at that location.