Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

[1.7.10] How would I check which slot a mouse clicked?


Recommended Posts

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!

Link to comment
Share on other sites

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.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...

Important Information

By using this site, you agree to our Terms of Use.