useItem

fun useItem(itemSlot: Int, swapBack: Boolean = true, fromInv: Boolean = false): Boolean

Swaps to and uses the specified itemSlot.


fun useItem(item: SkyblockItem, swapBack: Boolean = true, fromInv: Boolean = false): Boolean

Attempts to swap to and use the specified item. Returns true if successful.


fun useItem(name: String, swapBack: Boolean = true, fromInv: Boolean = false, ignoreCase: Boolean = false): Boolean

Attempts to swap to and use the item with the specified name. Returns true if successful.