Started by
PopcatCookie
on
Topic category: Help with Minecraft modding (Java Edition)
My local server is too slow and laggy, is there any way to add more RAM to make it less laggy ? Also sorry if this is in the wrong forum section, I couldn't find which section was the correct one.
Ok nevermind it's just a procedure in my mod impacting performances
Usually when things are really laggy, you don't need more RAM but need to optimize some procedures.
No long operations in them, especially not in tick-based triggers
I will try optimizing the procedure. Thanks you, it helps a lot !
I disabled the entity tick update procedure (https://imgur.com/a/k6Up9os) but my game stills crashes after a few minutes, I don't think there are other heavy procedures. I also have 431 mod elements, is it a problem ?
I don't know what to do, I deleted some tick-based procedures but I still have the same problem: the local server runs out of RAM and crashs after 5 minutes, I only have two heavy tick procedures but I don't know how to optimize them... I really need your help.
I think I found the problem, and I also think I'm very dumb, because it was one of my procedures spamming for spawning an entity LMAO