Glares are using about 20% of the tick time
Xstoudi opened this issue ยท 2 comments
Minecraft version information
1.19.2
Mod loader information
Forge
Mod loader version information
43.1.7
Mod version information
1.5.11
Expected Behavior
Glares shouldn't eat up the tick.
Actual Behavior
Glares' pathfinding takes about 20% of a tick time when loaded.
You can see in the attached flamegraph, GlareEntity.tick takes about 20% of tick times. Most of it is due to intensive calling of the nm.world.level.pathfinder.WalkNodeEvaluator.checkNeighbourBlocks()
.
Reproduction Steps
- Boot a server and spawn some glares.
- When Glares are loaded, TPS drop down.
Screenshots & files
Please do upgrade to 1.19.2-1.6.8(https://github.com/Faboslav/friends-and-foes/releases/tag/mc1.19.2-1.6.8) version and then let me know if the problem persists.