[Waiting for Forge PR] FP Event Subscriber causing lag -
ProsperCraft opened this issue ยท 10 comments
No, it currently only tracks the event subscribed, in this case: net.minecraftforge.fml.common.gameevent.TickEvent.WorldTickEvent
.
Look for a class that has:
@SubscribeEvent
public void something(net.minecraftforge.fml.common.gameevent.TickEvent.WorldTickEvent event){
//Your code here
}
@TerminatorNL well I have anout 4 of them thats why I asked ^^
@ProsperCraft are you using lasers/rocket launcher with Transport chips?
I think I know source of this lag, I have to check every tick if the PotionEffects from entities have changed so with alot of entities this will take alot of time, as I am iterating over the complete EntityList. This will get fixed as soon as MinecraftForge/MinecraftForge#4614 gets merged.
@ProsperCraft out of curiosity, what does the current timings show (I optimised since February alot)