This mod requires Fabric, not Forge. (FpsReducer (Forge) is similar.)
Dynamic FPS automatically reduces the speed at which minecraft renders when it's not focused (to 1 FPS, configurable) or hidden (no renders at all, configurable). It also fixes a bug in Vanilla Minecraft that makes it take much more performance in the background than it should, as well as making the game not render while reloading resources (which makes it take forever on my machine!).
can make a forge dymanic fps pls? qwq
In reply to 哀呀的小绵羊:
FpsReducer already does that.
can you set the fps at which the game will run when not focused with this mod? thanks
Yes, actually! If you install Mod Menu, you can navigate to Dynamic FPS in the mod list and click the settings button for a handy in-game config. Alternatively, find and edit the config file located in the config folder (alongside your mods folder).
So not forge?
Please have the common decency to at least read the very first (bold, centered) line of the description before commenting what so many others have before you.
It's flickering a lot when unfocused and is really annoying. Any ideas why?
In reply to kaxonlive:
The flicker only happens if the FPS reduction is greater than 0. It happens faster the higher FPS you set.
Huh, interesting. What OS are you using? What version of Minecraft? What other mods are you using—does it still happen with just Dynamic FPS? What exactly do you mean by flickering—does it flicker between a correct frame of the game and a black/white screen, or does it flicker between correct frames of the game at different times?
In reply to juliand665:
I've narrowed down the culprit mod(s). It doesn't like OptiFabric with OptiFine. I'm on Windows 10 Minecraft 1.16.5 with latest stable Fabric build and here's a modlist you can recreate the issue with:
Ah yes, I've experienced flickering with optifine too. Since optifine is closed source, it's essentially a black box to me and there's no way to figure out why or how it does what it does and flickers, and thus no way to resolve this. If you're looking for performance, I'd recommend Sodium instead; it does way more for my performance than optifine does these days, and has a bunch of minor fixes too like smooth lighting on/in water, nicer biome blending, …
In reply to juliand665:
A person releases all of optifine's source code here: https://optifinesource.co.uk/downloads/1-16.html
I really enjoy the shaders of optifine and there's no alternatives.
Oh man, I really don't think I'm up to the task of going through 577 thousand lines of optifine code to figure out where it's conflicting with my mod. This is why modders generally choose to just not support optifine. If you just want the performance boost in the background, setting the inactive fps to 0 should be a fine workaround, right?
As far as other shader mods, Iris is a great ongoing shaders project intended to be compatible with optifine. I don't know exactly how far along they are, but they also have a Discord on which you could keep up with development. In the end, their goal is to be compatible with Sodium too, so you should be able to run shaders with much better performance than you currently are.
In reply to juliand665:
I appreciate the suggestions. Iris still doesn't really exist functionally, but I'm glad it's in development.
In reply to kaxonlive:
Would you consider Canvas Renderer? It's a performance mod with shaders
In reply to ItsTinay:
Canvas isn't compatible with any optifine shaders and the support for it is very limited (I couldn't even find a canvas shaderpack). Iris has the brightest looking future but it really isn't practical or that functional right now. Without optifine, there's also so many missing resource pack additions; the game looks so much worse.
seems amazing
So as I understand it, the mod only reduces the fps of the game but doesn't affect the game logic, so it is still possible to AFK farms normally in the background with this. Am I right?
That's absolutely correct!