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
Redirector is the complete implementation of this concept to reduce the required memory of the game.
Note
Redirector should work on both the client and server and can be installed on servers without requiring clients to also have the mod.
Support on Discord
If you'd like to support me and the development of my mods, I recommend trying out BisectHosting. Use code "project8gbderam" to get 25% off your first month of a gaming server for new customers. They offer 24/7 support and lightning-fast response times, ensuring you're in great hands and providing exceptional assistance for all your gaming needs. https://www.bisecthosting.com/project8gbderam
