Open antibang opened 1 year ago
hmm weird. maxheight is a really light test. That shouldn't cause lag. Can you show me your full spawn file?
Yup! Sure thing. Hopefully sending it as a text file works:
I know I kinda go ham with the onjoin
condition, but I don't know if that is causing the extreme lag. I typically only use it if my rule(s) just aren't seemingly working as I intend them to. Though I did test most of these without that condition to see if it'd help and got the same results in the profiler.
You are not using maxheight here. So that's not very useful to me
I thought it was maxheight causing lag?
I apologize! I sent the one I recently tweaked before submitting a report :/ This should be the correct one:
Hmm no idea. 'maxheight' itself is an extremely light condition. 'onjoin' and 'structure' are much heavier
I've noticed that the condition "maxheight" in the
spawn.json
file causes some extreme lag. I've taken many Spark reports that point to that, so, I rewrote all of my rules that included that condition in that file to completely eliminate the use ofmaxheight
. This kind of helped, however, it seems thatgetHeight
and/orgetChunk
is causing additional lag as well, even without the use ofmaxheight
.I should mention that I have RoadRunner installed. I know that this can conflict with many things, so I felt the need the mention it.
Here is the Spark profiler I ran with the
maxheight
condition in thespawn.json
file: https://spark.lucko.me/KlZcKuHGYcHere is the Spark profiler I ran without the
maxheight
condition in thespawn.json
file: https://spark.lucko.me/7YixW2LvZQ