Jump to content

NBTTags not loading properly.


Yagoki

Recommended Posts

I'm trying to make a block have a feature which can be toggled, I added this in the writetoNBT(...) and readFromNBT(...) methods, but now, judging from the print-stream and how i see nothing happen when it loads, it wont load on the client side. Not sure how to fix this or why it doesn't happen as it shows the NBT being read then re-initializes the TileEntity (i'm guessing for the client side) and doesn't read the NBT.

 

Help please

 

The TileEntity: http://paste.minecraftforge.net/view/638e0283

The block: http://paste.minecraftforge.net/view/66a6296b

 

Thanks

Link to comment
Share on other sites

it's not supposed to read saved data on a client side (well, how it could, when saves are on a server..), it's server responsibility to send status of world to the client.

 

relevant threads:

http://www.minecraftforge.net/forum/index.php?topic=2432.0 (read all posts)

http://www.minecraftforge.net/forum/index.php/topic,4991.0.html

mnn.getNativeLang() != English

If I helped you please click on the "thank you" button.

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.



×
×
  • Create New...

Important Information

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