2024-12-15 01:21:31|Myriagame |source:minecraft skins
Brief introduction
Lithium is a free and open source optimization module. Unlike other optimized modules, Lithium is committed to a standard, that is, to make more optimization and improvements without modifying the original mechanism.Optimization, you can try hydrogen (Hydrogen) or iron oxygen magnetic core.
Divided into two versions of Fabric and Forge.
It is committed to improving the calculation methods of multiple original mechanisms, such as: physical system, biological AI, redstone, explosion, etc.See the directory -optimization.
Lithium can be installed on any end of the client or server.When the server is installed, the client does not need to be installed, and vice versa.
The author does not have any idea of transplanted Lithium to 1.12 or lower versions.(Because it mainly faces the negative optimization feature of 1.13+)
It is better effectively effective with the optimized module phosphorus (Phosphor) and sodium (Phosphor) and sodium.
As Fabric itself introduced SPONGE's Mixin, Mixinbootstrap 1.0.2+ is no longer needed, and the version of 1.16 can be used directly (Forge version still needs to be used).
Use & download
Fabric
Installing Fabric, the Fabric API is not necessary, but we recommend you to install it.
Download the corresponding version of the module body here.
Put the good jar file in .minecraft/mods (if the version isolation is enabled, put in ./minecraft/ version number/MODS).
At this time, this module should be loaded normally. If there is a problem, please report to Github Issues (please use English).
Forge
Install Forge and install the module's front MixinBootstrap.
Here (1.15) or here (1.16 test version, unstable) download the corresponding version of the module body.
Put the good jar file in the .minecraft/mods (if the version isolation is enabled, put it in the /minecraft/ version number/MODS).
At this time, this module should be loaded normally. If there is a problem, please give feedback to the author.
Note: Lithium no longer updates the Forg version, and now only supports Fabric.
optimization
Tick time (MSPT) of the server (MSPT) before the lithium (left) and later (right).This is measured in the existing world with 18 rendering distances.
You may want to know what this module is optimized, let's take a look.
Physical optimization: By simply reducing the resolution complexity of the Cultural collision box, the physical collision detection has made significant progress.At the same time, a more accurate algorithm is also used to reduce the number of blocks for each TICK inspection, especially when the physical fast movement, the optimization effect is obvious.
Biological AI Optimization: We use event -based systems in some tasks that process AI to reduce the CPU occupation brought about by the changes in the world.The "brain" of creatures is also optimized, and it will be much faster than before when choosing between different AI tasks.
Optimization of the world: In the original world, many calculations are unnecessary and will not affect the final result. This provides full opportunities for Lithium to optimize this significant performance overhead.
Block loading optimization: Modify the pre -palette compaction in Block Palette Compaction to improve efficiency.When players explore the world (generate new blocks), the TPS decreases less and the loading time has also improved.We also batch some verification operations to reduce unnecessary disk I/O.Note: If the block engine is installed with the tic-tacs, the optimization will not have any effect, but this does not affect the compatibility of both parties.
Optimization of Monster Tower: The collision treatment between optimized entities will use a simple collision box, and the performance loss brought by monsters in the pile of monsters is significantly reduced.This greatly reduces the impact of brushing the monster tower on the server TPS.
Block carved treatment optimization: This optimization allows the square to engage in the processing of less, so that the block is updated (when the block is stabilized) and other redstone devices faster.The game will determine whether the square is carved according to the plan of the update queue. The optimization makes the time complexity from o (n) [n here represents the number of squares carved by representatives]It provides a significant speed improvement when blocking.
Explosive optimization: We have applied quite a lot of optimization for TNT and explosions, and reducing the stuttering brought by related behaviors without changing their behavior.One of the most significant gains in it is the light tracking, which has been fully optimized (principle: on the same path, multiple steps that occur in the same block position, so that we can quickly reuse the results of the previous steps).We also use a faster position tracking algorithm that can avoid many unnecessary allocation.Interest point optimization: The complex creature AI (mainly villagers and predators) in Minecraft usually requires the most suitable AI task in the world to choose the most suitable AI task.In the original version, checking all the interests in a block need to be retrieved by 16 separate search through a large number of streamcodes.With the emergence of Lithium, this task is simplified into a simple retrieval, and the iterative method is used faster (also very typical) to improve the query performance by 16-22 times.
Data tracker optimization: The internal data managers used to track certain physical states and attributes are optimized to use a plane array and avoid locking of high -performance loss. No matter when these attributes are accessed in a game carving, this can be provided.Very decent and efficient performance improvement.
Redstone Optimization: Calculating the new charging level of the red stone line after the box is updated.The number of times the number of block states check without changing behaviors can reduce the lag of redstone powder by about 35%.
… And other help JVM optimize the internal improvement of the code.
Configuration
Lithium uses an unusual configuration system to enable or disable certain patch programs.The system can control the code modified code modified, so it can completely eliminate errors or MODs introduced by MOD.For more information, please read the Wiki entry that modify the configuration file or view the configuration file translation brought by MC Encyclopedia in the tutorial.A empty configuration file is completely allowed, only means that you use the default option.
Notice
Lithium is still in the early stage of development.This module contains a large number of repair procedures that may cause problems in the game. Please prepare edit your configuration file to reduce the scope of the problem.If you really encounter a problem, let me know!
Forge transplantation
Forge 1.18.1-1.20.1 & Neoforge 1.20.1, 1.20.5-1.21.1: Radium.
Forge 1.18.2-1.20.4: Canary.
Forge 1.16.4-119.2: Roadrunner.
Forge 1.16.5: Potatorunner.
National Service DNF Dark Ni
2025-01-28 09:19:27The new screenshot of the be
2025-01-28 09:18:57The 15th anniversary wallpap
2025-01-28 09:18:273DM Xuanyuan Sinicization Gr
2025-01-28 09:17:57French magazine is the first
2025-01-28 09:17:27The sneak game "Republic" wi
2025-01-28 09:16:57The story between humans and
2025-01-28 09:16:27Capture "Trinity 3: Artifact
2025-01-28 09:15:27Wind direction change "Myste
2025-01-28 09:14:57DICE's new project "Dream" w
2025-01-28 09:14:27Pirate Minecraft Skins
Minecraft Skins
2024-12-10 04:11:27Pirate Minecraft Skins
Minecraft Skins
2024-12-10 04:11:26Master Minecraft Skins
Minecraft Skins
2024-12-10 04:11:25King Minecraft Skins
Minecraft Skins
2024-12-10 04:11:25Guide Minecraft Skins
Minecraft Skins
2024-12-10 04:11:24Dark Knight Minecraft Skins
Minecraft Skins
2024-12-10 04:11:23Sparta Minecraft Skins
Minecraft Skins
2024-12-10 04:11:23Moncraft Skins of the War
Minecraft Skins
2024-12-10 04:11:22Red Witch Minecraft Skins
Minecraft Skins
2024-12-10 04:11:22Golden Cavaliers Minecraft S
Minecraft Skins
2024-12-10 04:11:22