Jump to content

Getting another players inventory smp


tlr38usd
 Share

Recommended Posts

How could you get another players inventory. Would you need to use EntityPlayerMP? What I'm trying to do is add a back tools render and I want to get all the other players item stacks in there last inventory slot then render it on their backs. I have the rendering code working great I just need to know how to get the itemstack.

Link to comment
Share on other sites

hum yeah that gonna need some work

 

basicly player a does NOT have access to player b inventory, at all except his main item and 4 piece of armor

 

technicly you could use the datawatcher to sync the item you want into a certain slot and then use the playerrender event to render that item

how to debug 101:http://www.minecraftforge.net/wiki/Debug_101

-hydroflame, author of the forge revolution-

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.

Guest
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.

 Share



×
×
  • Create New...

Important Information

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