Bad Optimizations Mod (1.21.3, 1.20.1) – Optimizing Minor Things
Bad Optimizations Mod (1.21.3, 1.20.1) started off optimizing minor things and only increasing performance by a tiny bit (hence the name), but later started doing some bigger optimizations. Most optimization mods focus on rendering performance and optimizing Minecraft’s render engine, but this mod’s focus is on the things other than that. This mod is to be used in conjunction with other optimization mods like Sodium.
Features:
- Don’t do F3 calculations if we’re not in the F3 menu: This is the biggest optimization. You’d be surprised to see how expensive the calculations are to F3, even when it’s not open. Notably, the FPS string uses
String.format
, a very slow function call. This mod makes that function only get called if you’re actually in the F3 menu. Don’t worry, this won’t break FPS counter mods. (also, you really shouldn’t be using F3 often anyway, it decreases performance significantly, use an FPS counter mod.) - Remove unnecessary thread synchronization from DataTracker / SyncedEntityData: Minecraft uses thread locks to make sure only one thread accesses DataTracker at a time, which uses (somewhat) expensive thread locks. These are completely redundant. I wrote a temporary script that would crash the game if more than one thread accesses an entity’s DataTracker, ever. The game didn’t crash at all.
- Don’t do unnecessary FOV calculations if we don’t need to: When you’re spectating either a player or nobody, the game calculates your FOV factor (e.g. charging bow / potion effects), even if your FOV effect scale is zero. This mod removes this calculation if your FOV effect scale is zero.
- Replace
removeIf
call in ToastManager: This one replaces the default JavaremoveIf
call used in vanilla for toasts with a more direct one. The default Java implementation calls the predicate twice, which, in this case, causes each toast to get rendered twice. This mod replaces theremoveIf
call with anIterator
, improving performance whether toasts are present or not.
Requires:
Minecraft Forge or Fabric API or NeoForge Installer
How to install:
How To Download & Install Mods with Minecraft Forge
How To Download & Install Fabric Mods
Don’t miss out today’s latest Minecraft Mods
Bad Optimizations Mod (1.21.3, 1.20.1) Download Links
For Minecraft 1.19.4, 1.19.3, 1.19.2, 1.19.1, 1.19
Fabric version: Download from Server 1 – Download from Server 2
For Minecraft 1.20.1, 1.20
Fabric version: Download from Server 1 – Download from Server 2
Forge/Fabric version: Download from Server 1 – Download from Server 2
For Minecraft 1.20.4, 1.20.3, 1.20.2
Fabric version: Download from Server 1 – Download from Server 2
Forge/Fabric version: Download from Server 1 – Download from Server 2
For Minecraft 1.20.5
NeoForge/Fabric version: Download from Server 1 – Download from Server 2
For Minecraft 1.20.6
NeoForge/Fabric version: Download from Server 1
For Minecraft 1.21
NeoForge/Fabric version: Download from Server 1
For Minecraft 1.21.1
NeoForge/Fabric version: Download from Server 1
For Minecraft 1.21.3, 1.21.2
NeoForge/Fabric version: Download from Server 1