Redirector

Redirector

Mod

Redirect Enum#values() allocation in codes and improve game performance.

Client or server Optimization

208.1k downloads
51 followers
Follow Save
90% of ad revenue goes to creators. Go ad-free while supporting creators with Modrinth Plus. Subscribe today!

This mod is for 1.16.5 +, If you are looking for 1.12.2-, go Redirector [Retro]

We have changed our name from redirector 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

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.

Issue Report

1.16.5+ : https://github.com/MCTeamPotato/Kasualix-Issue-Tracker

1.12.2-: https://github.com/Ecdcaeb/Redirectionor/issues

Misc

image


Project members

Kasualix

Member

Details

Published a year ago
Updated 9 months ago