Performance tweaks is a mod that contains several optimizations and fixes, ranging from entity optimizations to redstone. Post your thoughts in the comments, for new optimizations you would like to see!
From now on, I am bundling performance tweaks as a multi-platform mod, available for many Minecraft versions. Every optimization will be included, but there will be config options to disable some of them if you don't want them.
Config: (1.2.0+) All config files are now under config/perf-tweaks folder
Dependencies: Because this mod is now multi-platform, Architectury API is now a required dependency
This mod can just be installed on client and server, but works best when installed on both.
Join the server for announcements, bug reports, beta releases and more!
The wiki contains all information and help with this mod
Many of these optimizations are no longer updated to modern Minecraft versions, or have additional functionality / configure-ability.
Optimization to allow mobs with equipped items to despawn naturally. Preserves dropped items when mobs despawn (Configurable)
perf_tweaks persistence <mob-name>"despawning.enable_despawning_optimization": false in the perf_tweaks.json in the configs.Optimizations to reduce block updates and power calculations made to Redstone. (Configurable)
"enable_alternate_current_by_default": false in the perf_tweaks.json in the configs. Additionally, you can disable alternate current for any world by typing command alternatecurrent offOptimizations to speed up performance with powered rails. Replaces wasteful recursive method calling with a much faster check by a single powered rail.