NBT varible in text

Started by Aizark on Sat, 07/27/2019 - 13:30

Topic category: Help with MCreator software

Last seen on 06:49, 1. Jul 2020
Joined Nov 2015
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • Comments:
NBT varible in text
Sat, 07/27/2019 - 13:30

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

How would you know which…
Sat, 07/27/2019 - 16:54

How would you know which variable to show - of which block or entity or item? You have one GUI but many blocks.

Last seen on 06:49, 1. Jul 2020
Joined Nov 2015
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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.