Hashtag 8670 Share Posted May 10, 2015 How to use the method. I have no idea what to put to Bank.Scroll argument Link to comment Share on other sites More sharing options...
NVS 14 Share Posted May 10, 2015 Looks like Bank.Scroll is an enum, you can choose b/w Bank.Scroll.WHEEL and Bank.Scroll.CLICK. Link to comment Share on other sites More sharing options...
Hashtag 8670 Author Share Posted May 10, 2015 Looks like Bank.Scroll is an enum, you can choose b/w Bank.Scroll.WHEEL and Bank.Scroll.CLICK. That is what I've been trying. I just can't get it to work. Link to comment Share on other sites More sharing options...
NVS 14 Share Posted May 10, 2015 You can try: getMouse().scrollWhile(false, 30000, () -> getBank().isSlotVisible(ITEM)) You might want to test isSlotVisible() first b/c it may be broken hook. Link to comment Share on other sites More sharing options...
Hashtag 8670 Author Share Posted May 10, 2015 Ok will try when I get home Nope it doesn't suit my needs. Link to comment Share on other sites More sharing options...
Cardozz 46 Share Posted July 23, 2015 Assuming you are trying to use getBank().scroll(String, BankScroll type) It aks for: String name = item name, E.G "Willow logs" BankScroll type = the method of scrolling you would like to use, E.G BankScroll.CLICK / BankScroll.WHEEL The last one is pretty easy, either you want to scroll by clicking the scroll bar, or scrolling using the mouse wheel. To complete this method: getBank().scroll("Willow logs", BankScroll.WHEEL); Hope this helps! EDIT: Tested in IDE, gave me no errors. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.