MCreator apparently can't use NBT values inside a GUI?

Started by Famous5000 on

Topic category: Help with MCreator software

Last seen on 22:08, 11. Oct 2021
Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
MCreator apparently can't use NBT values inside a GUI?

I should also note that after the first gradle build ran through unsuccessfully, any attempts to change the thing's name have failed miserably to correctly resolve. I'm not sure what went wrong as I assumed VAR:xxx would work as long as it was a global variable so I thought that using NBT:xxx would pull an item's NBT [specifically the executor of the GUI]
Log: https://pastebin.com/n6rMxeDW
Thanks if anyone can give me any pointers for this.

Last seen on 01:05, 10. Oct 2021
Joined Sep 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Create Player Variable: …
Thu, 10/07/2021 - 18:30

Create Player Variable: "ActiveGUIItem", type itemstack.

On item right click: Set "ActiveGUIItem" to (provided itemstack) - this will trigger in addition to opening bound GUI

in GUI, Get NBT of "ActiveGUIItem"

On GUI close set "ActiveGuiItem" to Barrier, or some other other dummy block