Currently we use Minecraft.getSystemTime() in many place (especially rendering) to achieve better effect. But that timer runs regardless of screen pause, so if user pauses the screen the effect will still be running. Create a global timer that takes account of this.