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
GNU Lesser General Public License v3.0
150 stars 92 forks source link

Massive performance issues with Orbit #1336

Open Puggicorn opened 3 days ago

Puggicorn commented 3 days 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 3 days ago

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