Posted March 31, 20178 yr I've seen that is possible to open other player's inventory trougth mdk. Could it be achieved with forge, but instead of opening inventory simply get an Inventory class of it so you can programatically check the items?
April 1, 20178 yr Author 56 minutes ago, diesieben07 said: What are you talking about? I want to get other players inventory trougth a client-side mod. Such as a /invsee but instead of opening it, get a instance.
April 1, 20178 yr The player inventory is just a field in the player class, so you can just access EntityPlayer#inventory to do whatever you want.
April 1, 20178 yr Except that I don't think other player's inventories are synced to your client. Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable. If you think this is the case, JUST REPORT ME. Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice. Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked. DO NOT PM ME WITH PROBLEMS. No help will be given.
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.