Wiki 9Minecraft Wiki 9Minecraft

Redirected Wiki & Guide

Guides 5FAQ 6Dependencies 2Related mods 60

A memory optimization mod that prevents duplication of Enum values.

DownloadRedirected

Get the files on 9Minecraft

Contents (6)
  1. Overview
  2. Guides
  3. Frequently asked questions
  4. Dependencies
  5. Gallery
  6. You May Also Like

Overview

Redirected is a technical mod with no visible features at all. It changes one specific thing about how the game reads its own fixed lists of options.

In Java, every fixed list of options — the six directions, the dye colours, the difficulty settings, the game modes — is an enum, and asking an enum for all of its values hands back a brand new copy of the array every single time. Minecraft asks for those lists constantly while it ticks blocks, sorts inventory slots, runs commands and spawns particles, so the game produces a steady trickle of identical throwaway arrays that the garbage collector then has to clear away.

Redirected steps in at those call sites and hands out one shared, pre-built copy instead of a fresh one. Nothing about how the game plays or looks changes.

Redirected is a technical mod with no visible features at all. It changes one specific thing about how the game reads its own fixed lists of options.

In Java, every fixed list of options — the six directions, the dye colours, the difficulty settings, the game modes — is an enum, and asking an enum for all of its values hands back a brand new copy of the array every single time. Minecraft asks for those lists constantly while it ticks blocks, sorts inventory slots, runs commands and spawns particles, so the game produces a steady trickle of identical throwaway arrays that the garbage collector then has to clear away.

Redirected steps in at those call sites and hands out one shared, pre-built copy instead of a fresh one. Nothing about how the game plays or looks changes.

Guides

Step-by-step, in-game.

Frequently asked questions

What does the Redirected Mod actually change in the game?
It changes how the game reads its fixed lists so it reuses one shared list instead of building a fresh copy every time. This cuts down on background cleanup work during normal play.
Will Redirected change how my game looks or plays?
No, it runs completely behind the scenes without changing how the game plays or looks. It adds zero items, blocks, recipes, screens, or settings.
Which common game actions does Redirected help with?
It helps during block ticking, inventory sorting, running commands, and particle spawning. These are the moments when the game would otherwise create throwaway memory clutter.
Does Redirected store any data in my world?
No, it stores no world data, so it's safe to add to an existing world or remove at any point. The game world itself stays unchanged.

See all 6 Redirected questions ›

Dependencies

Other mods required (or optional) to run this mod.

TxniLib (required)Fabric API (required)