Lag due to EntityItemTickEvent
LemADEC opened this issue ยท 3 comments
As of 1.3-20, CPU lag is observed in WorldTickEvent:
From a quick code review, every tick, for every entity item, a new Event is created and fired, even when no mod is registered on said event:
https://github.com/Vazkii/AutoRegLib/blob/master/src/main/java/vazkii/arl/util/ItemTickHandler.java#L22
How many entities were in the world at the time of this happening? You'd need a lot of entities for this to be relevant at all I reckon?