Better REI

This is an addon for Roughly Enough Items (REI). It does not replace REI and keeps all vanilla REI behaviors unchanged.
item image
item image
item image
item image

Description

Description

This is an addon for Roughly Enough Items (REI). It does not replace REI and keeps all vanilla REI behaviors unchanged.

Optimizations

  • Indexed recipe & usage lookup: Instead of iterating every recipe across all categories on R key lookup, it uses REI's built-in reverse index. Only matching categories are checked. Results stay identical to vanilla, huge speed gains in large modpacks.
  • Automatic entry atlas throttling: REI's big icon atlas can cause long freezes when opening inventory with tens of thousands of items. This addon automatically disables the atlas when item count exceeds threshold. Small packs keep vanilla atlas behavior. Player manual settings take priority.
  • Display name cache for name sorting: Avoids repeated formatting stripping and string generation during sort comparisons. Cache auto clears on resource reload, only active when sorting by name.
  • Cache cleanup hooks: Safely invalidate all caches on REI reload, works with KubeJS dynamic items.

New Feature: EMI-style Recipe Tree (Ctrl+R)

Open on hovered item, inventory slot or held item. Keybind configurable.

  • Expand recipes and ingredients in tree view, with cycle protection and branch limit
  • Built-in shopping list: calculate shortage based on your inventory, resources are not double-counted across branches
  • Adjustable target count, recipe/usage toggle, persistent category filter
  • Frame-split expand to keep UI responsive; preserves expand state and scroll position after reload
  • Collapse overflow recipes when there are too many

Requirements

Requires Roughly Enough Items (REI). Recipe tree reads data purely from REI.

Better REI Team

profile avatar
  • 1
    Followers
  • 12
    Projects
  • 4.4K
    Downloads

More from BarryAlen777View all