Hashtag 9079 Posted May 10, 2015 How to use the method. I have no idea what to put to Bank.Scroll argument
NVS 14 Posted May 10, 2015 Looks like Bank.Scroll is an enum, you can choose b/w Bank.Scroll.WHEEL and Bank.Scroll.CLICK.
Hashtag 9079 Author 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.
NVS 14 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.
Cardozz 46 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.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.