Fuzss / thinair

The air is not always breathable in the depths of the earth and other dimensions.
https://www.curseforge.com/minecraft/mc-mods/new-thin-air
MIT License
1 stars 4 forks source link

[Bug]: air quality checks for all mobs destroy TPS #47

Open screret opened 3 months ago

screret commented 3 months ago

Mod Loader (Required)

Forge

Minecraft Version(s) (Required)

1.20.1

Mod Version(s) (Required)

88.1.5

Minimal Setup (Required)

No

Notes (Required)

we have ~20 villagers on my server. together, these mobs are eating 8-10% of my TPS via thinair air quality checks every tick. image a couple of profiles: https://spark.lucko.me/aVoOvFtzDd https://spark.lucko.me/9uXQxVHRh6

log doesn't have much in it.

latest.log (Required)

https://gist.github.com/screret/c58a4c4d78914cd55a650776514277b7

KrokusAstra commented 3 months ago

(I'm not dev of the mod) I guess this is common situation - if the entity is affected by something, every tick entity is pressuring TPS by being ticked. I suggest just remove Villagers from list of affected mobs (go to mod's jar file, open it by 7zip or it's alternatives, go to data - thinair - tags - entity types - air quality sensitive.json, open it in Note++, and remove (or add) any entity you do(not) want to being affected by mod.

https://github.com/Fuzss/thinair/issues/23