interactGroundItem

static boolean interactGroundItem(String itemName, String action)

Interacts with the best nearby ground item using interact according to org.tribot.script.sdk.antiban.PreferredTargetSelector

Return

true if interacted with successfully, false otherwise

Parameters

itemName

the item name

action

the item action

static boolean interactGroundItem(int itemId, String action)

Interacts with the best nearby ground item using interact according to org.tribot.script.sdk.antiban.PreferredTargetSelector

Return

true if interacted with successfully, false otherwise

Parameters

itemId

the item id

action

the item action