Mysterious Lag [Solved]

Started by FanelLore on Wed, 10/21/2020 - 01:58

Topic category: Help with MCreator software

Last seen on 02:32, 5. Dec 2020
Joined Feb 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Mysterious Lag [Solved]
Thu, 10/22/2020 - 22:35 (edited)

I have no idea why, but my in-program client for Minecraft suddenly started to get extremely laggy, and is getting to the point where it freezes up for a second or two every five seconds.

I have plenty of RAM allocated to Mcreator, and I only have 630 mod elements, so I personally have no idea why it's being so slow... Also, when I go to the console, where there is all the code that appears while launching the client/playing on client, all the warnings that it shows are the "can't keep up" warnings, but of course this makes sense. Anyways, the average FPS for me is around 7, which... er... isn't great, considering I have super fast FPS in regular Minecraft.

Can anyone think of something that could be the problem?

Thanks in advance!

Edited by FanelLore on Thu, 10/22/2020 - 22:35
Last seen on 02:48, 21. Oct 2020
Joined Oct 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
There must be a loop…
Wed, 10/21/2020 - 02:06

There must be a loop. Extract your mod run in minecraft while full debug also do some other stuff and read  logs. You created a loop a leak and you need to remove it from your mod; it must be about prodecures.

Last seen on 02:32, 5. Dec 2020
Joined Feb 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
I wouldn't be suprised if it…
Wed, 10/21/2020 - 02:27

I wouldn't be suprised if it has something to do with procedures, I'll check this later.

Last seen on 01:37, 5. Dec 2020
Joined Aug 2016
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Do you use a lot of…
Wed, 10/21/2020 - 14:21

Do you use a lot of structures (and set their spawn probability to a high value)? Currently, a lot of structure spawns can cause a lot of lag. Otherwise, it's surely something with one of your procedure.

Last seen on 02:32, 5. Dec 2020
Joined Feb 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Ok then, thanks a lot; I'll…
Wed, 10/21/2020 - 22:54

Ok then, thanks a lot; I'll investigate both.

Last seen on 02:32, 5. Dec 2020
Joined Feb 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Coincidently, I do not have…
Wed, 10/21/2020 - 22:59

Coincidently, I do not have any high spawn probability structures exceeding 500,000 per mil. chunks, and I only have around 10 structures in total number. 

Last seen on 02:32, 5. Dec 2020
Joined Feb 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Furthermore, I actually do…
Wed, 10/21/2020 - 23:05

Furthermore, I actually do not have any procedures with global triggers, I just leave them at "no additional trigger" and then link them to the mod element that I wish.

Last seen on 02:32, 5. Dec 2020
Joined Feb 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
As a test, I'm going to make…
Thu, 10/22/2020 - 00:19

As a test, I'm going to make it so that none of my structures spawn, then make a new world, and see if those structure are what is affecting it.