Closed Reshy closed 1 year ago
<0.5% of the tick is not enough of a performance impact to be a cause of concern. In 1.18 pollen the event and fluid apis use static calls to keep the performance footprint low. They are based on Architectury API events so they still perform much better than default Forge events.
What version are you seeing the problem on?
1.18.2
Describe the issue
Pollen seems to be adding some unnecessary overhead to each mobs just by virtue of being installed, something regarding "reflection" and "unreflection":
net.minecraft.world.entity.Mob.tick()51.33%
net.minecraft.world.entity.npc.Villager.tick()4.38%
net.minecraft.world.entity.monster.Skeleton.tick()0.81%
net.minecraft.world.entity.monster.Zombie.tick()0.75%
net.minecraft.world.entity.animal.AbstractSchoolingFish.tick()0.52%
net.minecraft.world.entity.ambient.Bat.tick()0.52%
latest.log