Redirector [Modern] logo

Redirector [Modern]

Mod

by _nArUTo_

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

Downloads

32,410,440

Type

Mod

CurseForge ID

877289

Last Updated

Apr 9, 2026

Description

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.

It's recommended to use forge as the forge version of Redirector is much more compatible than the fabric version (whose update is on hold).

Issue Report

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

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

Misc

Join Our discord: https://discord.gg/g8q3UHTpCP!

image

Similar Mods

Included in Modpacks

External Resources