Mysterious Lag [Solved]

Started by FanelLore on

Topic category: Help with MCreator software

Joined Feb 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • 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
Joined Oct 2020
Points:

User statistics:

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

Joined Feb 2020
Points:

User statistics:

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

Joined Aug 2016
Points:

User statistics:

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

Joined Feb 2020
Points:

User statistics:

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

Joined Feb 2020
Points:

User statistics:

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

Joined Feb 2020
Points:

User statistics:

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

Joined Feb 2020
Points:

User statistics:

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