Jump to content

[1.8+] String -> NBT Parser.


Ernio

Recommended Posts

Does anybody know if vanilla has one or maybe there is some public implementation?

 

I am asking about reverse-parsing of NBTBase.toString() (literally read returned string back to NBT).

Yes, I know - I can write it, or do in milion other ways, just hate reinventing the wheel.

1.7.10 is no longer supported by forge, you are on your own.

Link to comment
Share on other sites

Took a glimpse. Looks nice so far. Good to know it exists.

 

I am still as designing stage (of scripting language for my mod) so I have to account for all possibilities - here - reading NBT from cfg (for e.g setting Item's NBT).

 

Thanks man! :)

1.7.10 is no longer supported by forge, you are on your own.

Link to comment
Share on other sites

I alredy made design and interpreter which handles loading script and is surprisingly fast (in execution, almost as fast as native).

The biggest problem I face is that keywords I provide give power over more common game (and my mod) features, but they can't really interpret everything (obviously).

 

Nashorn might be useful in implementing advanced-level scripts, which is cool :D Thanks for tip.

 

Btw. If anyone know something about it (Nashorn) - particularly its performance problems (e.g what to not do), feel free to post it. :D

1.7.10 is no longer supported by forge, you are on your own.

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.