do global triggers create lagg?

Started by Zerret on Fri, 07/16/2021 - 02:34

Topic category: Help with modding (Java Edition)

Last seen on 19:16, 12. Sep 2021
Joined May 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
do global triggers create lagg?
Fri, 07/16/2021 - 02:34

do global triggers create extra lagg?

Last seen on 16:11, 18. Sep 2021
Joined Dec 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
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 :)

Last seen on 19:16, 12. Sep 2021
Joined May 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
thank you.  
Mon, 08/09/2021 - 15:39

thank you.

 

Last seen on 13:15, 9. Sep 2021
Joined May 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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