What are you searching for?

Redirector

Redirector

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

download 915.6K Downloads · favorite 68 Followers · Updated 1 year ago
Forge Optimization 1.16.5 1.17.1 1.18 1.18.1 1.18.2 +10 more

Versions

inventory_2
5.0.0-forge

5.0.0-forge · 1 year ago · 5.66 KB

Release download
Forge 1.16.5 1.18.2 1.19.2
inventory_2
Redirector 5.0.0

5.0.0 · 2 years ago · 5.40 KB

Release download
Forge 1.16.5 1.17.1 1.18

About

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

open_in_new View on Modrinth
Categories
Compatibility
Client: Optional Server: Optional
gavel LGPL-3.0-or-later

Conversation

What are your thoughts?

Related projects

Optimization
Sodium
Sodium

by jellysquid3

The fastest and most compatible rendering optimization mod for Minecraft. Now available for both NeoForge and Fabric!

download 118.2M
favorite 32,788
Decoration Optimization
Iris Shaders
Iris Shaders

by coderbot

A modern shader pack loader for Minecraft intended to be compatible with existing OptiFine shader packs

download 90.5M
favorite 23,773
Optimization Utility
FerriteCore
FerriteCore

by malte0811

Memory usage optimizations

download 84.3M
favorite 12,712
Optimization
Entity Culling
Entity Culling

by tr7zw

Using async path-tracing to hide Block-/Entities that are not visible

download 84.0M
favorite 13,759
lock Cookie consent

SkinMC uses cookies to provide functionality and features.