Jump to content

send data from GUI-Container to TileEntity and the other way around


aligator123456

Recommended Posts

You could always just call a method.

 

I'm assuming your Container retains a reference to the TileEntity.

 

So put a public method incrementSomethingAndGetNewIcon (or something) in the TileEntity's class and call it from the Container when you need to send the data. Send the data you wish to send in the method call and use the return to get the Icon.

Link to comment
Share on other sites

Lol, ninjad AGAIN!!!

 

That does sound viable, but does the server know about it? That's the issue really. I remember when I was doing stuff client side and wondering why it wasn't working... Fun times :P

We all stuff up sometimes... But I seem to be at the bottom of that pot.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.

Announcements



×
×
  • Create New...

Important Information

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