passing the values of tables to the gui

Started by drum on

Topic category: Help with Minecraft modding (Java Edition)

Joined Oct 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
passing the values of tables to the gui

I'm making a map and writing a mod for it in parallel, since some things are easier to implement through it. There was an idea to show in a certain window the state of the tables that were created on the map, is it possible to somehow upgrade them in the gui interface if I know in advance what they are called and what types, etc. are embedded in them?

Joined Dec 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Can you reword this? What…
Fri, 10/18/2024 - 12:52

Can you reword this?

What tables? What state?

Joined Oct 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
sorry, I wrote part of it…
Fri, 10/18/2024 - 14:56

sorry, I wrote part of it through a translator, so the essence was lost. 

The idea is that I have 'scoreboards' on my map that track certain actions, and they have specific values within the int range. I want to create a GUI interface, which, when opened, will display information taken from a specific 'scoreboard.' The names of the tables and the row names do not change and are the same everywhere.

Joined Dec 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
None of these helped ?
Fri, 10/18/2024 - 15:59

None of these helped ?

Joined Oct 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
oh, i forgot about this page
Fri, 10/18/2024 - 16:40

oh, i forgot about this page

Joined Oct 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I’ve encountered some issues…
Sat, 10/19/2024 - 09:54

I’ve encountered some issues while developing the GUI. I’ve already figured out how to change values using scoreboards, but my problem is that my scoreboards are anonymous and contain variables that I just modify. How can I reference this table with the variable name? The screenshot below shows how I tried to pass the values. The table is called "hack Goal," and the variable I want to transfer to the test field is "Progress."

I’ve encountered some issues while developing the GUI. I’ve already figured out how to change values using scoreboards, but my problem is that my scoreboards are anonymous and contain variables that I just modify. How can I reference this table with the variable name? The screenshot below shows how I tried to pass the values. The table is called "hack Goal," and the variable I want to transfer to the test field is "Progress."

Joined Dec 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Upload screenshots to imgur,…
Sun, 10/20/2024 - 14:55

Upload screenshots to imgur, discord no longer allows remote content