2020.4 - Show Block Energy on GUI

Started by gustavowizard123 on

Topic category: Help with modding (Java Edition)

Last seen on 19:53, 2. Jun 2021
Joined Sep 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
2020.4 - Show Block Energy on GUI

i just download last 2020.4 snap to check the new features, trying to make a simple solar panel here, but how i show it on GUI?

On wiki says 'The current energy value can be shown in GUIs bound to this block too.' - but dont saw how

 

thank you in advance!

Last seen on 14:24, 21. Feb 2022
Joined Jun 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Add a text label and change…
Tue, 07/21/2020 - 07:16

Add a text label and change the type to the energy one. (I think it's on the bottom of the list)

Last seen on 19:53, 2. Jun 2021
Joined Sep 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
but how i bind it to the GUI…
Tue, 07/21/2020 - 21:06

but how i bind it to the GUI? if its not much to ask could you post a screenshot of the procedure?

thanks!

Last seen on 19:53, 2. Jun 2021
Joined Sep 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
also i could not find any…
Tue, 07/21/2020 - 21:53

also i could not find any text label for energy

Last seen on 19:53, 2. Jun 2021
Joined Sep 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
nobody? i just cant find one…
Sun, 07/26/2020 - 02:52

nobody? i just cant find one tutorial about this; show energy of block on GUI :(

Last seen on 19:53, 2. Jun 2021
Joined Sep 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
lol i finally found the …
Sun, 08/02/2020 - 05:50

lol i finally found the <energy> thing on the text label on GUI part.. nice! yet there are some stuff there i dont know how to use it, like this:

 

<BNBT:number:tagName>

 

how do i use that?

thanks!

Last seen on 19:53, 2. Jun 2021
Joined Sep 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
i can see <energy> but how…
Sun, 08/02/2020 - 06:03

i can see

<energy>

but how to set up for EnergyCapacity, MaxOutout, MaxInput?

Last seen on 16:52, 23. Jun 2022
Joined May 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Alright so I'm trying to do…
Tue, 12/21/2021 - 18:54

Alright so I'm trying to do something similar, but somehow the <energy> doesn't show up in-game when I use the block 'update tick' trigger. It doesn't matter how much energy I put in the block, the energy that it will display in the GUI using <energy>, will be displayed as 0.0. When I use client display random tick trigger, it will show the energy correctly, but some other weird things happen when using this trigger so I rather use 'update tick', also because this one is more precise since it's not random.

Does anyone know how I fix this problem?

(using mcreator 2021.3).

Here is the procedure im using. I hope the screenshot is visible since i havent posted any pictures here yet

Last seen on 16:52, 23. Jun 2022
Joined May 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
The problem I had was fixed…
Sat, 06/04/2022 - 15:26

The problem I had was fixed in the new version of Mcreator, which would be 2022.1!

Last seen on 04:46, 14. Mar 2024
Joined Nov 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
those tags dont work anymore…
Sun, 12/03/2023 - 07:59

those tags dont work anymore :(