Jump to content

Recommended Posts

Posted

Hello!

So I've got this problem with my inventory not updating properly for the client that is moving stuff around inside it.

All clients that aren't moving anything in the inventory gets the right things displayed, only the client putting stuff into the inventory has this.

 

Example:

I've got 1 cobblestone here:

https://dl.dropboxusercontent.com/u/22001728/Photos/inventory_before.png

 

I put it into the inventory (doesn't matter which slot):

https://dl.dropboxusercontent.com/u/22001728/Photos/inventory_middle.png

 

And then when i try to take it out:

https://dl.dropboxusercontent.com/u/22001728/Photos/inventory_after.png

 

This happens for all the slots in the inventory.

 

Here's my relevant classes (i think, ask for it if i missed one):

TileEntityWindmill.java: http://pastebin.com/LANQhTNw

GuiWindmill.java: http://pastebin.com/V7BYmgfm

ContainerWindmill.java: http://pastebin.com/Ha9Wpv1z

GuiHandler: http://pastebin.com/pLv2nbMx

 

I can't think of anything that would do this besides the inventory not updating, but I've looked through a couple of tutorials and examples, and from what i can see, it's all right.

 

EDIT:

After 2 days i decided to redo one of the tutorials again, but still the same result.

The tutorial i followed was by the way this one: http://www.minecraftforge.net/wiki/Containers_and_GUIs

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.