(CLOSED) Will the mod lag if you create a huge number of variables

Started by ImSeyo on

Topic category: Help with MCreator software

Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
(CLOSED) Will the mod lag if you create a huge number of variables
Tue, 07/18/2023 - 16:11 (edited)

Now I need to create 300 global variables and 300 interfaces. I will not explain in detail. I will only say that each variable is simply attached to the texts of all interfaces and displays the numbers entered by the variables. All variables will not be connected to updating the tick of the world, entities, and so on, they perform only those simple actions that I said earlier. (I know that even one variable with a tick update allows the mod to lag).

The question is, will my mod lag from so many variables even though they perform simple actions?

Edited by ImSeyo on Tue, 07/18/2023 - 16:11
If you just make them, not…
Tue, 07/18/2023 - 14:52

If you just make them, not at all.

It would only lag if you updated too many of them too often, e.g. as you predicted in some sort of tick procedure

Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thank you for your answer,…
Tue, 07/18/2023 - 16:11

Thank you for your answer, now I can start creating a bunch of interfaces and variables without fear