[HELP] Making a block that transforms a seed into other seeds via energy system.

Started by unmushinminecr… on

Topic category: Help with Minecraft modding (Java Edition)

Joined Feb 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
[HELP] Making a block that transforms a seed into other seeds via energy system.
Thu, 02/20/2025 - 15:35 (edited)

Hi, I want to make a block with a GUI that has a charging bar, that use seeds to transforms it into other modded seeds. It uses energy system. But so I don't know how to make it. I've already made the gui, the charging bar but i didn't implemented the logic behind everything. 

https://imgur.com/a/M2E159R

Edited by unmushinminecraftiens on Thu, 02/20/2025 - 15:35
Joined Feb 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
So, I have made Procedures…
Thu, 02/20/2025 - 14:19

So, I have made Procedures but the block doesn't work.

https://imgur.com/a/xVWOL9u
The first procedure is the block tick update 

The second procedure is when the block is placed

The third  procedure is to implement the logic of the progress
The fourth screen is the code for the gui 

Joined Feb 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
And i forgot to implement…
Thu, 02/20/2025 - 14:20

And i forgot to implement the logic of the energy.

Joined Feb 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Soooooooooo, I've been able…
Thu, 02/20/2025 - 16:25

Soooooooooo, I've been able to make the seeds into the modded seeds and then when i ported all of the procedure into the gui procedures (when this gui is opened, while this gui is tick open, when this gui is closed) everything stopped working. The logic was implemented in the update tick in the block but i wanted to keep working even if the gui is closed and now it doesn't work. Yes, i used the world time and made a nbt but it doesn't work. Maybe it's because i have used twice the same name for the nbt, i dont really know.