Jump to content

Recommended Posts

Posted (edited)

I don't need any help with anything specific per se but for the sake of discussion, would want to ask something.

 

Is it a bad idea to store data for a (example) tile entity in another file and not in the world.dat (or whatever is called)?

 

If I have some data that is not compatible with NBT, can I use my own files / way of saving that data? Would that be bad for performance and compatibility?

Edited by Cerandior
Posted

What is your data structure / why is it not compatible with NBT?

You would need to make sure you load/save it at all the appropriate times. What would lead to incompatibility, if it is your own internal data it shouldn't matter.

Posted
4 hours ago, Alpvax said:

What is your data structure / why is it not compatible with NBT?

You would need to make sure you load/save it at all the appropriate times. What would lead to incompatibility, if it is your own internal data it shouldn't matter.

If one of the tile entity data fields contains one of your classes for example. I don't think you can save that using NBT. About the incompatibility, can't really think of anything that can be harmful myself, that's why I asked.

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.