Posted February 26, 201510 yr So I need to see which slot a mouse clicked in the inventory. So what I tried was getting the slot display x or y and comparing it to the mouse x or y. I thought it would work but the numbers were really random. And I couldnt find a good way to check. So is there some function that I can call in guiInventory to get whether a slot was clicked? Also, Im checking whether it is a middle click. I'm back from being gone for... I think its been about a year. I'm pretty sure nobody remembers me, but hello anybody who does!
February 27, 201510 yr Extend GuiContainer - you then have the handleMouseClick method which has the Slot and slot number as the first two parameters. http://i.imgur.com/NdrFdld.png[/img]
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.