Set NBT Tag for Items to a Global String Variable with Code

Started by GamesofFreak on Thu, 03/04/2021 - 12:12

Topic category: Help with modding (Java Edition)

Last seen on 16:05, 13. Apr 2021
Joined Feb 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Set NBT Tag for Items to a Global String Variable with Code
Thu, 03/04/2021 - 12:12

I want to set an String NBT Tag to a Item trough Code to make it default, but I want to set this NBT Tag to a Global String Variable.

Is this possible with coding? If yes can someone give me a code for it?