your current location:首页 > news>Al F and Im Lighting Engine Minecraft

Al F and Im Lighting Engine Minecraft

2024-12-12 09:26:45|Myriagame |source:minecraft skins

Alfheim

It is the branch of HeSperus (or rewriting, depending on your understanding of the paradox of the Thos), and the branch of the phosphorus is a branch of phosphorus.

What are the advantages compared to 燐/phosphorus?

Alfheim's goal is to be compatible in all scenarios.If the fundamental serious and incompatibility occurs due to any reason, then ALFHEIM will send a warning to tell you what happened, instead of collapsed without any information.

Alfheim has optimized all aspects on and phosphorus, and there are fewer memory in general.

Compared with 燐 and phosphorus, Alfheim reduces the update of the light source cubes by 27 times, and also limits the number of light updates per frame per frame to improve the client performance.In addition, 磷 and phosphorus will be unnecessary to make light updates before each frame, and Alfheim will not.

Alfheim also fixes more original lighting problems than 燐 and phosphorus:

Fix more questions

The following is the problem of fixing the hesperus/phosphorus (Phosphor).

Mc-3329;

MC-102162;

MC-116690;

MC-117067;

MC-117094.

Alfheim's additional repair on the basis of 磷 and phosphorus:

Mc-92;

Mc-50734;

Mc-80966;

Mc-95515;

MC-104532;

MC-249343.

Why not send PR directly?

Reasonable question.The reason is simple. Compared with Hesperus, Alfheim is not just a branch of repairing errors, but the author's continuation of it.As mentioned above, the author's continuation of the 燐 is not just a small repairs, but also in depth, and the internal code is almost overwhelmed.

Of course, this was not the case at first. The author originally wanted to submit some PR for 燐, but after a part of the content of PR, the volume had obviously exceeded the category of PR, so the author turned to make ALFHEIM.

Now, Alfheim includes optimization, error repair, compatibility repair, and there will be more in the future.

Install precautions

Alfheim replaces the code of the original light engine through Mixin to achieve performance improvement and error repair.Because of this, Alfheim needs MixinBooter as the front.

Due to the unique nature of Mixin, the loading order of MixinBooter must be before ALFHEIM, otherwise it will cause collapse.So please do not delete the exclamation mark in the jar file name of MixinBooter, which is to ensure that the loading order is controllable.

In addition, the three, Hesperus, and Phosphor are incompatible with each other.Although the installation does not collapse, the three have modified the code of the light engine. At the same time, the modified code during the installation will be covered in the order that is difficult to determine, resulting in difficult results.Therefore, the three should only leave one.