use Item
Swaps to and uses the specified itemSlot.
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.