Mysterious Lag [Solved]

Started by FanelLore on

Topic category: Help with MCreator software

Active 4 years ago
Joined Feb 2020
Points:
919

User statistics:

  • Modifications: 1
  • Forum topics: 15
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 385
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
Active 4 years ago
Joined Oct 2020
Points:
624

User statistics:

  • Modifications: 0
  • Forum topics: 2
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 7
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.

Active 4 years ago
Joined Feb 2020
Points:
919

User statistics:

  • Modifications: 1
  • Forum topics: 15
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 385
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.

Active 8 hours ago
Joined Aug 2016
Points:
3229

User statistics:

  • Modifications: 9
  • Forum topics: 63
  • Wiki pages: 20
  • MCreator plugins: 11
  • Comments: 2775
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.

Active 4 years ago
Joined Feb 2020
Points:
919

User statistics:

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

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

Active 4 years ago
Joined Feb 2020
Points:
919

User statistics:

  • Modifications: 1
  • Forum topics: 15
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 385
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. 

Active 4 years ago
Joined Feb 2020
Points:
919

User statistics:

  • Modifications: 1
  • Forum topics: 15
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 385
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.

Active 4 years ago
Joined Feb 2020
Points:
919

User statistics:

  • Modifications: 1
  • Forum topics: 15
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 385
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.