do global triggers create lagg?

Started by Zerret on

Topic category: Help with Minecraft modding (Java Edition)

Joined May 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
do global triggers create lagg?

do global triggers create extra lagg?

They can create lag, if used…
Fri, 07/16/2021 - 08:33

They can create lag, if used not wisely/too often and with specific global trigger. This is because they can be run constantly ("player tick"/"world tick" especially) or quite often ("player right clicks with item").

To avoid lag, you can set conditions, so procedures can be run less often, and create less laggy situation. I asked that in this topic and got posivite answer, so I guess you can trust on it :)

Joined May 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I am running two scripts off…
Mon, 08/09/2021 - 18:06

I am running two scripts off the player tick. One is my thirst system and the other is a random event. They do not lagg but if I kept adding more events etc I guess it would. I have tested it with other people on the server as well. Just have to play a delicate dance with the ticks.

 

Chew