Jump to content

Recommended Posts

Posted

Whenever I close Minecraft and re-launch it the TileEntity is missing some data, but not all?

Also it seems the GUI is not updating on certain things.

 

Block:

 

  Reveal hidden contents

 

 

Container

 

  Reveal hidden contents

 

 

Custom Slot:

 

  Reveal hidden contents

 

 

GUI:

 

  Reveal hidden contents

 

 

GUI Handler:

 

  Reveal hidden contents

 

 

TileEntity:

 

  Reveal hidden contents

 

 

IMessage Class:

 

  Reveal hidden contents

 

 

stuff from main class:

 

  Reveal hidden contents

 

Legend of Zelda Mod[updated September 20th to 3.1.1]

Extra Achievements(Minecraft 1.8!)[updated April 3rd to 2.3.0]

Fancy Cheeses[updated May 8th to 0.5.0]

Posted

By gui is not updating on sertain thing, you mean that progress bar isn't going or what?

If first - you need crafting and crafters methods to sync client and server containers.

This includes 3 methods:

addCraftingToCrafters(ICrafting crafting)

detectAndSendChanges

updateProgressBar(int id, int amount)

Using those, you are syncing data between client and server.

 

Posted
  On 4/23/2015 at 9:31 AM, elix said:

This includes 3 methods:

addCraftingToCrafters(ICrafting crafting)

detectAndSendChanges

updateProgressBar(int id, int amount)

 

OK, using these has solved some most of my problems.

Sorry for being vague earlier.

 

At the moment, the issue is that when I click a button on my gui, it doesn't seem to do anything.

My System.out.println()s are telling me the IMessage class is receiving the message, but then the functions in the TileEntity class that they call don't seem to do anything.

Legend of Zelda Mod[updated September 20th to 3.1.1]

Extra Achievements(Minecraft 1.8!)[updated April 3rd to 2.3.0]

Fancy Cheeses[updated May 8th to 0.5.0]

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.