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 voidLootable. 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 KSItemItems. 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 booleanShop. buy(KSItem item, int option)Buys an item based on the providedKSItemobject.voidMagic. cast(Spell spell, KSItem target)Casts a spell on a target item.voidInventory. itemOnItem(KSItem primary, KSItem secondary)Uses one item on another item in the inventory.booleanInventory. itemOnNpc(KSItem item, KSNPC npc)voidNPCs. itemOnNpc(KSNPC npc, KSItem item)Performs a "Use item on NPC" interaction.booleanInventory. itemOnObject(KSItem item, KSObject object)voidTrade. offer(KSItem item, int quantity)Offers a KSItem object to the trade.voidTrade. remove(KSItem item, int quantity)booleanShop. sell(KSItem item, int option)Sells an item based on the providedKSItemobject.Method parameters in rs.kreme.ksbot.api.hooks with type arguments of type KSItem Modifier and Type Method Description booleanShop. buy(java.util.function.Predicate<KSItem> filter, int option)Attempts to buy an item from the shop that matches a given filter.booleanItems. contains(java.util.function.Predicate<? super KSItem> predicate)voidBank. deposit(java.util.function.Predicate<KSItem> filter, int amount)Deposits a specified quantity of an item from the inventory based on a filter.booleanShop. sell(java.util.function.Predicate<KSItem> filter, int option)Attempts to sell an item from the inventory that matches a given filter.voidBank. 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 ofKSItemobjects.ItemQuery(java.util.Collection<KSItem> items) -
Uses of KSItem in rs.kreme.ksbot.api.wrappers
Methods in rs.kreme.ksbot.api.wrappers that return KSItem Modifier and Type Method Description KSItemKSWidget. 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()
-