This mod is for 1.16.5 +, If you are looking for 1.12.2-, go Redirector [Retro]
We have changed our name from redirectionor to redirector, because the redirection targets are not only about directions but all enum values now.
Preface
In the well-known optimization mods for Minecraft, Sodium, Lithium or Phosphor, there is a common optimization concept: replacing references to element values in enum classes with static final field values references.
This technique aims to enhance performance by improving access speed and reducing unnecessary computations when frequently accessing the constants.
Introduction
Redirectionor is the implementation of this concept to reduce the required memory of the game.
What does Redirectionor optimize exactly?
It's quite wide. Nearly every Enum#values() call is redirected in this mod......
This implementation is not "thorough", but it is still quite impressive.
Compatibility
Redirectionor is designed as compatible with every mod.
If you encounter any compatibility problem, pls create a new Issue on my GitHub global issue tracker.
Note
Redirectionor works on both the client and server and can be installed on servers without requiring clients to also have the mod.
Misc
Join Our discord: https://discord.gg/g8q3UHTpCP!