Topic category: Help with Minecraft modding (Java Edition)
Hello, I need help...
I have a GUI linked to a block that only has a text box and a label text that shows what I write in the text box. How do I make that each block has its own information stored in its text box? i.e. if I place 2 equal blocks and in one of the blocks I write "Hello" it does not appear in the other one? This behavior already exists, it is one of the characteristics that the command block has.
I have already tried with local variables (they are restarted when closing the GUI), with global variables (being global they are seen in all the blocks that have the GUI), with NBT and with java using variables from other files (it has the same behavior of the global ones).
If there is any spelling mistake I apologize, English is not my native language. Thank you very much for your time.
Note: I am using MCreator 2022.2
(https://imgur.com/a/zRAkZMY)