Heat And Climate

Heat And Climate

409k Downloads

World Ticking

AdaraChristine opened this issue · 5 comments

commented

I'm getting a lot of this in single player and multiplayer server.

2018-08-24_19 53 33

commented

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.

commented

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.

commented

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 :)

commented

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.

commented

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.)
2018-08-26_15 34 45

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!