Started by
Aizark
on
Topic category: Help with MCreator software
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.
How would you know which variable to show - of which block or entity or item? You have one GUI but many blocks.
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 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.