Jump to content

Write/read nbt to ByteArrayDataOutput


shucke

Recommended Posts

Is there an easy build in way to sync NBT data?

i really have a ton of data and it is quite a pain to write it all to a ByteArrayDataOutput and a NBTTagCompound.

Just sending and reading the NBT data seems to be a lot easier.

i know it can be done since a tile entity does the same thing with its description packages.

so.. can someone tell me how :)

Link to comment
Share on other sites

Have you looked into how their are made?

It's pretty easy they just grab the NBT into the packet and ship it off.

You can look into which packets the TE's are using and how and just use the same way yourself :)

If you guys dont get it.. then well ya.. try harder...

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.