World Ticking
AdaraChristine opened this issue · 5 comments
The pic is the output of a mod called lag goggles https://minecraft.curseforge.com/projects/laggoggles. LagGoggles is a profiler where you can see timings in the world and fps. The pic is the output from a WORLD scan and shows WORLD ticking. I HAVE turned off "core.cfg / Enable Vanilla Block Recipe" and "core.cfg / Enable DropItem Recipe" in the config. I would like to use the magic module so i do not wish to turn the ores off.
Thank you for telling me a good tool. It seems useful for development. I'll try to find the cause part with it.
As a first aid, I made some changes to reduce the frequency of block update. defeatedcrow/HeatAndClimateLib@595c5a7 and a16e93d
These will be reflected in the next update. There is probably a small improvement on lag.
You are Welcome! I really like your mod and the work you are doing, and i hope my input helps you to have a successful project :)
Sorry, I do not know the tool, so I do not know the meaning of that image.
Since it can not identify the problem part, I interpreted it as an issue of "dissatisfaction from players with unknown PC capability".
This mod has heavy processing for terrain generation and block update, and drop item update. They can be turned off by the player. I can not guarantee the operation with any PC capability. It is assumed that players will adjust it according to PC capabilities.
So I recommend to turn off "core.cfg / Enable Vanilla Block Recipe" and "core.cfg / Enable DropItem Recipe" in config. (It is planned to turn off default by next update.) In addition, you can delete terrain generation by turning off "module.cfg / world". All vein generation will be deleted.
In order to satisfy me, I added those functions with awareness. So I may open it only to players who can agree with the current situation by using a password or config.
Until defeatedcrow/HeatAndClimateLib@683832d, I made some fix for reduce lag. At v2.5.8, the lag will be reduced in vanilla world. (That image was taken in the forest biome.)
Most lags seem to be due to temperature calculation during block update and living entity update. Therefore I added the following config to core.cfg. They are probably effective in reducing lag.
- Block and Entity Blacklist for invalid from climate update
Excluded objects do not calculate the climate at update tick. - "Enable Mob Climate Damage"
If this setting turned off, it limits the effect of climate damage to players only. - "Entity Update Interval"
This setting changes the update interval of Entity's climate calculation. (So the interval of occurrence of climate damage changes.)
I appreciate you and the good mod you introduced!