CraftTweaker

CraftTweaker

151M Downloads

Unable to modify NBT tags dynamically.

Dilnu opened this issue ยท 2 comments

commented

Issue Description:

Trying to modify NBT tags in a function recipe gives the response of "Not supported yet"

What happens:

The above mentioned error occurs and my recipe isn't created.

What you expected to happen:

I'd like my recipe to work. It's possible I'm doing it wrong or that the feature is not yet available.

Script used (Please Pastebin or gist your script, posting an unpasted or ungist'd script will automatically close this issue):

https://pastebin.com/fm4ugihp

Minetweaker.log file (Please Pastebin or gist your file, posting an unpasted or ungist'd file will automatically close this issue):

https://pastebin.com/2DNNVJ9U


Affected Versions (Do not use "latest"):

  • Minecraft: 1.10.2
  • Forge: 12.18.3.2297
  • Crafttweaker: 3.0.26

Your most recent log file where the issue was present:

[pastebin/gist/etc link here]

commented

Alright after pouring over the code for a while longer it looks like the intended syntax is used here: https://pastebin.com/VDkHE1gg

If I do that though I get "Error: Not a Valid lvalue"

Is there's something I'm missing that lets me declare a mutable NBT tag?

commented

Alright so for posterity it appears that NBT tags are immutable once created the correct syntax is:
https://pastebin.com/h4PW69ji

That apparently crashes if souls is not filled but I'll file a separate bug for that.