NBT varible in text

Started by Aizark on

Topic category: Help with MCreator software

Joined Nov 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
NBT varible in text

Hi, the block has a pair of NBT variables. I want these values ​​to be displayed in the GUI, how to do this?

P.S.
Do not suggest me to use global variables, the block can each work differently.

123

Joined Nov 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
An example, a block with…
Sat, 07/27/2019 - 17:25

An example, a block with energy. In one block, 200 energy, in the other 100. Both players look at the GUI. In one block with 200 energy, the gui should show 200, in the other 100. The blocks of mechanisms, whatever works with personal variables, require a small visual display.

You can get NBT variable and…
Sat, 07/27/2019 - 17:46

You can get NBT variable and store it in global session variable for the current location and display if for there. We will add better support for this in the future updates too.