please help, im having performance issues with ticking blocks

Started by Muzaki on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jul 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
please help, im having performance issues with ticking blocks

I have this block thats supposed to spread to other blocks every few ticks, but if theres alot of them then it lags the internal server a bunch, is there anything i could do to fix this?

(dont tell me to have less blocks, the entire point is that theres supposed to be tons of them)

Joined Jun 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Yea use the wait block more…
Tue, 08/10/2021 - 15:44

Yea use the wait block more often

Joined Jul 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
yes i have tried using the…
Tue, 08/10/2021 - 16:19

yes i have tried using the wait block and making it a random tick, it doesnt improve performance much

Joined Jun 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Hmm what is the trigger you…
Tue, 08/10/2021 - 16:38

Hmm what is the trigger you are using?

 

If its on world tick, thats the issue

Joined Jun 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Its basically overloading…
Tue, 08/10/2021 - 16:39

Its basically overloading the CPU with calculations

Joined Jul 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
that makes sense but what…
Tue, 08/10/2021 - 16:47

that makes sense but what should i use as the trigger then?

Joined May 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Things you can try 1, Make…
Wed, 08/11/2021 - 10:56

Things you can try

1, Make it only work in certain biomes to off set some of the load

2, Only a few ticks is very fast. You want it to tick slower. I use this Tick Calculator. >>  Tick Calculator (mapmaking.fr)

3, Depending on how your spawning them into the world. You may want to make another block that it can spawn off of so you have more control of how it spawns into the world.

GL

Chew