
This results in fewer TPS drops while players are exploring terrain and provides a modest boost to world load times. World generation optimizations: Many calculations in vanilla's world generation are unnecessary and do not affect the final result, which gives ample opportunity for Canary to optimize this overhead away.Ĭhunk loading optimizations: The temporary data structures used in block palette compaction have been changed to be much more efficient. Mob "brains" have also been optimized to select between different AI tasks much, much quicker than before. Mob AI optimizations: We make use of an event-based system for some tasks in order to reduce the CPU usage incurred by constantly polling the world for changes. A more accurate algorithm is also used to reduce the number of blocks being checked every tick, especially in cases where entities are moving very quickly. Physics optimizations: Entity collision detection has seen significant improvements through reducing the collision resolution complexity for simple, cuboid blocks. You might be curious by now as to what exactly Canary is doing in order to achieve such significant gains, and I'm happy you are! You can read about (some) of the changes we make in the spoiler below. InstallationĬanary only supports Minecraft Forge 1.18.2 and up, So make sure you have the latest version of Forge present and simply drop the mod into your mods folder, no other mods or additional setup is required! Features So please report any issues you have to me only from here. (Note: Canary is stable at this point but also -issues are expected, also as mentioned above Canary is unofficial fork that means it has not been created by CaffeineMC team. For multiplayer servers, administrators can expect a sizeable improvement to tick times, allowing their hardware to support more loaded entities, chunks, and players. Through optimizing the server-side of the game, this can free up your computer's processor to focus on other tasks, resulting in improved frame rates and responsiveness. With the mod installed, you can see on average a 45% improvement to server tick times, resulting in a much leaner game.Įven in single-player, your game runs an "integrated server" which ticks the world your player is in. It works on both the client and server, and can be installed on servers without requiring clients to also have the mod. This mod aims to optimize the general performance of Minecraft(mob ai, physics, chunk loading, etc.) without changing any behavior. Canary for Minecraft ForgeĬanary is a general-purpose optimization mod and unofficial fork of the Fabric mod Lithium for Minecraft Forge. Measurements made in an existing world at a render distance of 18.


Server tick time (mspt) graph before and after installing Canary.
