Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Record NBT tags of items in text files instead of in file names #5

Closed
TowardtheStars opened this issue Nov 6, 2019 · 1 comment
Closed

Comments

@TowardtheStars
Copy link

Issue type:

  • ➕ Feature request

Short description:

Would you please use text files to record NBT tags of items instead of printing them on file names?

Since some OS and FS put a limit on the length of file name, it seems not convenient to simply export long NBT tags in file names. So such a long file name may raise an IOException when writing files.

The situation described above is possible when the user is working with mods such as TinkersConstruct, whose items always contain long NBT tags. A NBT tag of a tool from TinkersConstruct can easily reach 300 or more ASCII characters, and it will always get involved in task list when the user tries to export. It would get worse if the user installed some addons for TinkersContruct such as TAIGA and plusTiC.

@rubensworks
Copy link
Member

Note to self: apply a deterministic hash of the NBT tag to use in the file name, and store the full tag contents in a meta file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

No branches or pull requests

2 participants