Jei Refine

An optimization mod that makes Just Enough Items faster and more efficient.
Jei Refine
Create a server, get 25% off your first monthaffiliate logo
Create Server
affiliate banner image

JEI Refine

A comprehensive performance optimization layer for Just Enough Items, improving search, recipe lookups, loading, memory usage and rendering without changing gameplay.

Just Enough Items (JEI) is one of the most important mods in Minecraft modpacks. It provides a convenient way to browse items, search through thousands of entries and explore recipes added by different mods.

However, as modpacks grow, JEI has to process increasingly large amounts of information. Searching, looking up recipes, loading plugins and updating its interface can introduce unnecessary CPU and memory overhead.

JEI Refine was created to address these problems.

Rather than replacing JEI or removing any of its features, it improves how the existing systems handle information. It brings together several optimization approaches explored by other JEI performance mods, builds upon them with additional improvements, and focuses on making them work together more reliably.

The result is a collection of optimizations designed to make JEI faster and more responsive, particularly in larger modpacks, without changing how players interact with recipes or items.

How it improves JEI

JEI Refine works across several parts of JEI instead of focusing on just one bottleneck.

Recipe Lookups

Uses a reverse ingredient-to-recipe index and bounded lookup caches to avoid repeatedly searching through the same information. Cached results are updated as the underlying recipe data changes, while the original JEI implementation remains available as a fallback.

Search Engine

Reduces repeated search operations through result caching, duplicate request suppression and query normalization. Optional debounced batching also helps avoid processing multiple unnecessary updates in quick succession.

Faster Loading

Improves how JEI handles plugin and ingredient loading through bounded worker pools, batch processing and task cancellation. Work is organized to reduce unnecessary waiting and prevent large operations from overwhelming the client.

Memory Management

Uses bounded LRU caches with entry limits, memory budgets and adaptive reductions under memory pressure. This helps prevent optimization caches from growing without control, with additional cleanup when disconnecting from a world.

Layout and Rendering

Reduces unnecessary layout preparation and rendering work by reusing immutable layout information and skipping certain off-screen operations.

It also introduces a SEARCH_ONLY visibility mode, which hides the ingredient grid, its backgrounds, slots, tooltips and interaction checks while keeping the search field available.

Tooltip Optimization

Provides per-mod timing and optional safe result reuse, allowing repeated tooltip operations to avoid unnecessary work when the configured conditions are met.

Compatibility with other optimization mods

JEI Refine is designed to work alongside other performance mods instead of competing with their optimizations.

It includes compatibility detection for Sodium, Embeddium, ImmediatelyFast, ModernFix, FerriteCore and JEI-specific optimization addons.

Rather than blindly applying every optimization, it uses a per-subsystem compatibility system to determine when an optimization should remain active, delegate to another mod or be disabled to avoid verified conflicts.

This allows JEI Refine to improve different parts of JEI while respecting optimizations already provided by other mods.

When Sodium 0.8.13 or newer is installed, JEI Refine also provides its own configuration page directly inside Sodium's Video Settings.

Configuration and profiling

JEI Refine includes a dedicated configuration screen in the NeoForge Mods menu, with settings for controlling its optimization systems and resource budgets.

For more detailed analysis, its built-in profiler collects real execution timings using System.nanoTime() and reports P50, P95 and P99 measurements.

Reports can be exported as JSON, making it easier to identify expensive operations and understand how JEI behaves in your modpack.

Designed to preserve JEI

JEI Refine does not aim to simplify JEI by removing information or changing its behavior.

Its indexes and caches are designed as performance shortcuts, not replacements for JEI's original data. When a lookup misses or an optimization encounters an error, the original JEI path remains available.

The goal is simple: make the JEI you already use work more efficiently, with less unnecessary processing and without sacrificing the features you rely on.

Jei Refine Team

profile avatar
Owner
  • 4
    Projects
  • 172
    Downloads

More from eo_bm

  • No Realms project image

    No Realms

    Completely removes Minecraft Realms integration, including menus, notifications and background systems.

    • 129
    • December 3, 2026
  • Rust Engine project image

    Rust Engine

    Accelerates Minecraft's CPU-heavy workloads using optimized native Rust implementations.

    • 1
    • December 3, 2026
  • Comet Loader project image

    Comet Loader

    Optimizes Minecraft's loading pipeline through smarter resource processing, caching and coordination.

    • 24
    • December 2, 2026
  • No Realms project image

    No Realms

    Completely removes Minecraft Realms integration, including menus, notifications and background systems.

    • 129
    • December 3, 2026
  • Rust Engine project image

    Rust Engine

    Accelerates Minecraft's CPU-heavy workloads using optimized native Rust implementations.

    • 1
    • December 3, 2026
  • Comet Loader project image

    Comet Loader

    Optimizes Minecraft's loading pipeline through smarter resource processing, caching and coordination.

    • 24
    • December 2, 2026