MonitoringMinecraft MonitoringMinecraft

EMI JEI Grid Fix

Мод NeoForge

EMI JEI Grid Fix исправляет в Майнкрафт неверный рендер рецептов из плагинов JEI в EMI: слоты прокручиваемой сетки больше не собираются в кучу поверх ингредиентов.

2 скачивания 0 подписчиков
Оцените первым

Some mods ship a JEI plugin but no EMI plugin, and EMI shows those recipes anyway by reading the JEI plugin through its built-in compatibility layer. That mostly works — except for recipes whose slots are placed by a scrolling grid widget instead of by fixed coordinates.

Those slots all end up drawn in the top-left corner of the recipe, stacked on each other and on top of the recipe's inputs. If you have ever opened a strainer recipe in EMI and seen the entire drop table piled onto the input item, this is that bug.

This mod fixes it. Nothing else changes: no new UI, no config, no recipes added or hidden.

Before / after

BenBenLaw's Strainers puts its drop table in a 5×3 scrolling grid. Without this mod every one of those outputs renders at the same spot over the input slots; with it, they lay out in the grid the recipe asked for.

Why it happens

EMI's JEI-compat layer implements JEI's "add a slot and let a widget position it later" method as:

public IRecipeSlotBuilder addSlotToWidget(RecipeIngredientRole role, ISlottedWidgetFactory<?> widgetFactory) {
    return addSlot(role, 0, 0);
}

The widget is ignored, so every slot lands at (0, 0). This mod intercepts that call, asks the grid where it was placed and how wide it is, and puts each slot in the next grid cell — the same position JEI's own grid widget would have used.

Any JEI plugin using a scroll grid benefits, not just Strainers.

Requirements

  • Minecraft 1.21.1, NeoForge
  • EMI and JEI both installed (the code path this patches only exists when EMI is reading JEI plugins)
  • Client side only — it does nothing on a server, and is not needed on one

Known limitation

EMI recipe panels do not scroll, so a recipe with more outputs than its grid was sized for keeps flowing downward past the bottom of the panel instead of scrolling. Strainer recipes fit comfortably.

Смотри также

Похожие подборки моды — по версиям Майнкрафта, загрузчикам и жанрам.

Сервера Майнкрафт

Играть интереснее на сервере — выбирай в рейтинге серверов Майнкрафт и заходи прямо сейчас.

SkyBars
SkyBars Java + BE
1737 онлайн
1.8 — 26.2 версия
🎮 ВЫЖИВАНИЕ ⚔️ АНАРХИЯ 🚗 ГТА РП 🎤 ГОЛОСОВОЙ ЧАТ 🎁 БЕСПЛАТНЫЙ ДОНАТ 🌟 СМП 💻 ПК+ТЕЛЕФОН
Minestory
27 онлайн
1.21 — 26.2 версия
Выживание • Экономика • Кланы • Приваты • Ивенты • PVP • Работа
BULLCRAFT
BULLCRAFT Java + BE
118 онлайн
26.2 версия
Анархия! PvP | Работают поршни и вагонетки
ReallyWorld КОПИЯ ВСЕМ АДМИНКА
57 онлайн
1.16.5 — 1.21.1 версия
ПвП, Гриферство, бесплатный донат Dragon, AIR DROP
MineLauncher
Лаунчер Майнкрафт без лицензии — все версии
Бесплатный лаунчер для ПК и Андроид — все версии 26.2, 1.21.11, 26.1.2, 1.21.4. Fabric, NeoForge, Forge, шейдеры, моды и скины в один клик.
Без лицензии Fabric, NeoForge, Forge Моды, шейдеры, скины Все версии Майнкрафта ПК и Андроид Для слабых ПК Сервера в лаунчере
Скачать бесплатно
Windows и Андроид · Бесплатно · Без лицензии
Наш чат