How to affect labels in a procedure element?

Started by Doopie on Fri, 11/23/2018 - 18:29

Topic category: Help with MCreator software

Last seen on 11:13, 21. Dec 2018
Joined Nov 2018
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
How to affect labels in a procedure element?
Fri, 11/23/2018 - 18:33 (edited)

Hello creators!

I was hoping to receive some advice from fellow users as I'm stuck with my mod. I wanted to construct a block that sort of works like a daylight sensor but if you right click it a GUI opens which shows you how much electricity it has loaded inside. So it basically operates like a solar panel. I want the power levels to be displayed as numbers (e.g.: 650/3000 E) in the GUI so players can see it rise when it is day and the sun is shining on the block. I don't know how to create such a thing. My first idea was to create a label in the GUI and name it <Number> so I could define the number in the procedure, but in the procedure, I can't target the GUIs info. Any help will be appreciated!

Sincerely, DoopieWop

Edited by Doopie on Fri, 11/23/2018 - 18:33
Last seen on 07:55, 25. Oct 2020
Joined Apr 2010
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
This is not possible right…
Sat, 11/24/2018 - 10:35

This is not possible right now. You could use overlay to show the energy as a label on the screen at the moment.

Last seen on 11:13, 21. Dec 2018
Joined Nov 2018
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Huh... I see... thanks for…
Sat, 11/24/2018 - 15:03

Huh... I see... thanks for the reply anyways!