toItemQuery

WidgetItemQuery toItemQuery()

Converts this widget query to an widget item query that will match any of the widgets of this query, but the entity to search over is in the form of an org.tribot.script.sdk.interfaces.Item. This will filter the widgets to make sure they are items first. Note that when the query returned by this method is executed, this query is executed as well.

Return

this query as an widget item query