
Mod taking up unusual amount of the server thread
meeprdib opened this issue ยท 2 comments
As you can see here in this profiler, "My Nether's Delight" seems to be taking up a large amount of the server thread for a Farmer's Delight addon.
https://spark.lucko.me/2GxrCg5p4r
Comparing your code to vanilla, I noticed you are searching for cakes four times a second, as opposed to, say, the fox refreshing once every five seconds. This causes over 37,000 blockstate queries per second per frog. I suggest changing
COOLDOWN_TICKS to 100.