Jump to content

Sending a packet that updates inventory


Briggybros

Recommended Posts

Hello, I have a mod that changes an item on a keybinding, the item changed has different variables than the item that it changes to. This works fine in singleplayer. However, when used in multiplayer, the server doesn't register the new item, so it still has the same properties of the first. I need to create a packet, or send one that is already defined to tell the server, and thus other connected clients that the item has changed. I have no experience with packets so I don't know where to start, can someone help?

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
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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.

Announcements



×
×
  • Create New...

Important Information

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