dominospizza 4 Posted March 30, 2018 When Smithing, the animations continuously goes back and forth from 899 to -1. How would you be able to check if the player is still smithing before performing the next action? if (!getLocalPlayer().isAnimating()) That code does not work in this use-case.
cammofunk 2 Posted March 30, 2018 When Smithing, the animations continuously goes back and forth from 899 to -1. How would you be able to check if the player is still smithing before performing the next action? if (!getLocalPlayer().isAnimating()) That code does not work in this use-case. could add a timer to see if it's not animating for like 5 secs
aestheticfc 0 Posted July 24, 2020 sleepUntilgetInventoryitem item== <= where num is 1 less than the amount of bars it requires you to make whatever you are trying to make.
aestheticfc 0 Posted July 24, 2020 Idk how to edit comments but this is the code snippet I meant to put: sleepUntil(() -> getInventory().count(item -> item.getID() == MITHRIL_BAR_ID) <= 2, randomSleep());
Stoned 52 Posted July 25, 2020 22 hours ago, aestheticfc said: Idk how to edit comments but this is the code snippet I meant to put: sleepUntil(() -> getInventory().count(item -> item.getID() == MITHRIL_BAR_ID) <= 2, randomSleep()); bruh this post is 2 years old
Recommended Posts
Archived
This topic is now archived and is closed to further replies.