Uses of Class
rs.kreme.ksbot.api.wrappers.KSItem
-
Packages that use KSItem Package Description rs.kreme.ksbot.api.game rs.kreme.ksbot.api.hooks rs.kreme.ksbot.api.queries rs.kreme.ksbot.api.wrappers -
-
Uses of KSItem in rs.kreme.ksbot.api.game
Methods in rs.kreme.ksbot.api.game with parameters of type KSItem Modifier and Type Method Description void
Lootable. addDrop(KSItem item)
Adds the quantity of a dropped item to the tracker. -
Uses of KSItem in rs.kreme.ksbot.api.hooks
Methods in rs.kreme.ksbot.api.hooks that return KSItem Modifier and Type Method Description KSItem
Items. getItem(int... id)
Methods in rs.kreme.ksbot.api.hooks that return types with arguments of type KSItem Modifier and Type Method Description java.util.List<KSItem>
Widgets. getItems(KSWidget widget)
Retrieves the list of items from a widget.Methods in rs.kreme.ksbot.api.hooks with parameters of type KSItem Modifier and Type Method Description boolean
Shop. buy(KSItem item, int option)
Buys an item based on the providedKSItem
object.void
Magic. cast(Spell spell, KSItem target)
Casts a spell on a target item.void
Inventory. itemOnItem(KSItem primary, KSItem secondary)
Uses one item on another item in the inventory.boolean
Inventory. itemOnNpc(KSItem item, KSNPC npc)
void
NPCs. itemOnNpc(KSNPC npc, KSItem item)
Uses an item on a given NPC.boolean
Inventory. itemOnObject(KSItem item, KSObject object)
void
Trade. offer(KSItem item, int quantity)
Offers a KSItem object to the trade.void
Trade. remove(KSItem item, int quantity)
boolean
Shop. sell(KSItem item, int option)
Sells an item based on the providedKSItem
object.Method parameters in rs.kreme.ksbot.api.hooks with type arguments of type KSItem Modifier and Type Method Description boolean
Shop. buy(java.util.function.Predicate<KSItem> filter, int option)
Attempts to buy an item from the shop that matches a given filter.boolean
Items. contains(java.util.function.Predicate<? super KSItem> predicate)
void
Bank. deposit(java.util.function.Predicate<KSItem> filter, int amount)
Deposits a specified quantity of an item from the inventory based on a filter.boolean
Shop. sell(java.util.function.Predicate<KSItem> filter, int option)
Attempts to sell an item from the inventory that matches a given filter.void
Bank. withdraw(java.util.function.Predicate<KSItem> filter, int amount, Bank.WithdrawMode withdrawMode)
Withdraws an item from a container (e.g., bank, inventory) based on a specified filter, amount, and mode. -
Uses of KSItem in rs.kreme.ksbot.api.queries
Constructor parameters in rs.kreme.ksbot.api.queries with type arguments of type KSItem Constructor Description EquipmentItemQuery(java.util.Collection<KSItem> items)
Constructs an EquipmentItemQuery with the specified collection ofKSItem
objects.ItemQuery(java.util.Collection<KSItem> items)
Constructs an ItemQuery with the specified collection ofKSItem
objects. -
Uses of KSItem in rs.kreme.ksbot.api.wrappers
Methods in rs.kreme.ksbot.api.wrappers that return KSItem Modifier and Type Method Description KSItem
KSWidget. getItem(int index)
Methods in rs.kreme.ksbot.api.wrappers that return types with arguments of type KSItem Modifier and Type Method Description java.util.List<KSItem>
KSWidget. getItems()
-