June 6, 201510 yr Well, since I just can't think straight at the moment it's pretty hard for me to figure out how to click by slot. inventory.interact(ctx.inventory.getSlot(arg0);Doesn't work. (Which is no surprise) Any other way? I need to click the first 4 items in inventory. However the interact method is too slow for me. That's why I'm trying just to click the slot instead of the item itself.
June 6, 201510 yr Hmm... I think you could do this mouse.move(inventory.getMouseDestination(SLOT_ID)); mouse.click(false);
June 6, 201510 yr Author Hmm... I think you could do this mouse.move(inventory.getMouseDestination(SLOT_ID)); mouse.click(false); Going to write a block to see if this works better :3 I'll edit the post soon. Thanks in advance! EDIT: Alright, it's on steroids now so I suppose it's working thanks man! 600k/hour script :3 Edited June 6, 201510 yr by Psvxe
June 6, 201510 yr Nah man bad ways, just do Item item = inventory.getItemInSlot(apparent slot number); item.interact("drop"); or someshit
June 7, 201510 yr Author Nah man bad ways, just do Item item = inventory.getItemInSlot(apparent slot number); item.interact("drop"); or someshit This is slower.
June 8, 201510 yr This is slower. What makes you think that? By defining an item variable, you will have a lot less repetition overall if you have to interact with the same item more than once
June 8, 201510 yr Author What makes you think that? By defining an item variable, you will have a lot less repetition overall if you have to interact with the same item more than once Which I solved by making sure it doesn't reclick if a slot contains a id. And I don't think it. I tried it.
Create an account or sign in to comment