banner
Rating
Voted0

Canary Mod (1.20.1) - general performance improvements

Category - Optimization
3
Mod version:1
Game version:1.20.1
The mod has been successfully tested for the absence of viruses
1621.22K179.38K

Report mod

  • image
modalImage

About This Mod

Canary Mod (1.20.1) is a performance mod designed to improve the overall performance of Minecraft without breaking it.Canary is a general optimization mod, unofficial fork of Fabric MOD Lithium for Minecraft and improves many systems (game physics, AI mobs, ticking blocks, etc.) without changing behavior. It runs on both the client and the server and can be installed on the server without having to install a mod on the client. Installing this mode improves tick time on the server by an average of 45%, resulting in a smaller game.

Even in a single game, there is an "integrated server" that tracks the player's world. Optimizing the back end of the game allows the computer processor to focus on other tasks, improving frame rate and response rate. In the case of multiplayer servers, administrators can expect a significant improvement in tick time, allowing the hardware to support more loaded entities, blocks, and players.

Physics optimization: Collision detection of entities has been greatly improved, reducing the complexity of collision resolution for simple cubic blocks. A more precise algorithm was also used to reduce the number of blocks checked per tick, especially when entities move very quickly.

AI Mob Optimization: An event-based system is used for some tasks to reduce the CPU load caused by constantly polling for changes in the world. The brains of the mobs have also been optimized, allowing them to select various AI tasks much faster than before. Click here to compare changes before and after.

Optimization of world generation: since many calculations in the generation of the vanilla world are not necessary and do not affect the final result, Canary has ample opportunities to optimize these overhead costs.

Chunk Load Optimization: The temporary data structure used for compacting the chunk palette has been modified to improve efficiency. This allowed a slight improvement in the loading time of the world and reduced the TPS drop during the player's exploration of the terrain. In addition, some validation processes were grouped to reduce unnecessary disk I/O.

Optimization of the farm of mobs: The cost of growing mobs has been greatly reduced, as conflict resolution between creatures has been optimized with simple boxes involved. This significantly reduced the negative impact of the mob farms on the speed of server tics.

Optimizing block ticking: Due to lower overhead costs, calculations of block updates after generating chunks and other red stone tricks became faster. It also reduces the time to detect block ticking on a scheduled basis from O(n) (where n is the number of ticking blocks) to O(1), which provides a significant acceleration with a large number of ticking blocks.

Explosion optimization: A number of optimizations have been applied to TNT and explosions to reduce the associated delay without changing their behavior. In particular, ray tracing has been optimized to take advantage of the fact that multiple steps take place in the same location in the block, allowing you to quickly reuse the results of previous steps. A faster location-tracking algorithm is also used to avoid redistribution.

Optimizing Points of Interest: The sophisticated AI mobs in Minecraft, mostly related to villagers and pillahers, often need to find the right points of interest in the world to choose the most appropriate AI task. In the vanilla version, searching for all points in a chunk requires 16 iterations in thread-intensive code; with Lithium, this is reduced to one simple iterator-based search using a much faster (and more traditional) approach, with a 16- to 22-fold query improvement. Data Tracker Optimization: An internal data manager used to track the status of entities and their properties has been optimized to use flat arrays and avoid costly blocking.

Redstone Wire Optimization: Calculating new power levels for Redstone wires after block upgrades is expensive. By reducing the number of block health checks without any change in operation, Redstone Dust latencies have been reduced.

description_0 Canary Mod (1.20.1) - general performance improvements

Similar Mods/Addons

Game Version *

1.20.1 (6eabb3c396e4145e89587a15d7a12f93.jar)