this is what I have so far but it just keeps clicking on the knife. Im so lost ):
if (inventory.contains(item)) {
getInventory().getItem("Knife").interact("Use");
new ConditionalSleep(5000) {
@Override
public boolean condition() throws InterruptedException {
return getInventory().isItemSelected();
}
}.sleep();
if (item != null) {
getMouse().click(new InventorySlotDestination(getBot(), 27));
} else {
item.interact("Use");
}
sleep(random(500, 750));
}
}
For some reason tho it just seems to click the knife only; It never does anything else ): and I obviously have the item stated else where I can get it click on each item individually but I want to only click on 27 till all 27 items are finished