baileyholl / Ars-Nouveau

Repository for the Ars Nouveau minecraft mod. https://www.curseforge.com/minecraft/mc-mods/ars-nouveau
https://www.curseforge.com/minecraft/mc-mods/ars-nouveau
Other
181 stars 108 forks source link

Massive performance issues with Orbit #1336

Open Puggicorn opened 4 months ago

Puggicorn commented 4 months ago

I was messing around in Creative, when I realized that Orbit causes insane levels of lag when enough of them are spawned.

A very quick way to do this is to cast the spell:

Projectile -> Burst -> AOE -> AOE -> Sensitive -> Orbit -> Pierce

Doing so summons an unholy amount of of Orbit entities, causing massive frame drops. If performance improvements are too difficult, I suggest adding a check that begins removing the projectiles under a certain threshold. Maybe add a silly particle effect when the projectiles turn "Unstable"

Puggicorn commented 4 months ago

It seems like Burst in general causes a lot of lag as well, after trying it with Break