Jump to content

[1.7.10] Send information from Client to Server


arie2002

Recommended Posts

So, I have for the past days trying to make my Netty networking code work, and it doesn't seem to want to work for me...

 

What I'm trying to do is to send information to the server when I right click with an item, so the server can set the item in the player's hand to the tile entity.

 

Whatever I try to do, it doesn't seem to work...

 

Because there is a lot of code in my mod, I will just send a link to my GitHub repository instead of pasting the code in here:

https://github.com/RedstoneActivation/Elemental-Energy

 

The networking gets called from: ra.heroworkbrine.elementalenergy.item.ItemChargeable

IMessage: ra.heroworkbrine.elementalenergy.networking.EEMessage

IMessageHandler: ra.heroworkbrine.elementalenergy.networking.MessageHandler

 

If someone can find a flaw or knows a tutorial, it would be great!

 

- Arie

I never post on the forums, but when I do, I have no clue how to do a certain thing.

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.