One Enough Item

With OEI, you can effortlessly replace duplicate items with a single designated representative item.

Редакция NLZONE · 2 мин чтения · 1 просмотр
One Enough Item
Скачать One Enough Item1.17 – 26.1.2 · с официальной страницы: modrinth.com
Перейти к загрузке

Что это

With OEI, you can effortlessly replace duplicate items with a single designated representative item.

  • Тип: мод
  • Загрузчик: fabric, forge, neoforge
  • Версии Minecraft: 1.17 – 26.1.2
  • Скачиваний на Modrinth: 565 980

Подробно

This mod was developed to resolve the issue of duplicated item dictionaries in modpacks – three types of silver, four types of lead, five types of tomatoes, six types of corn – each with distinct recipes.

With OEI, you can effortlessly replace duplicate items with unique designated representatives.

Those days are now over. With OEI, items are replaced with their designated representatives immediately upon creation!

OEI is datapack-driven and supports hot reloading. Configure replacements at data/oei/replacements using this simple syntax:

JSON [ { "matchItems": [ "#forge:ore", "minecraft:potato", "minecraft:carrot" ], "resultItems": "minecraft:egg" } ]

List item IDs to replace under matchItems, and specify the designated representative in resultItems.

Warning: Never replace an item with itself – this may cause critical bugs!

KubeJS Integration: JavaScript ServerEvents.highPriorityData(event => { event.addJson("oei:replacements/rawmaterials.json", [ { "matchItems": ["#forge:rawmaterials/silver"], "resultItems": "thermal:rawsilver" } ]); });

OEI supports tag matching. If tag-based replacements require game reloads, use raw item IDs instead (likely due to mod conflicts).

Built-in Editor (v1.0.3+): Press CTRL+R to open the GUI editor for codeless replacement configuration! The editor includes recipe deduplication – see official documentation.

OEI replaces items at the earliest possible stage – not by scanning player inventories.

Example: Replacing all items with eggs instantly transforms the creative inventory:

Recipes automatically adapt. Here, iron ingots → eggs in a furnace recipe:

All recipes are automatically processed, including JEI displays:

Works with trades, advancements, and nearly all non-hardcoded recipes.

Additionally, replacing items with air will completely remove them. However, for compatibility reasons, such changes will not take effect in the Creative Mode inventory or JEI displays.

Enable in config to extend replacements to item interaction contexts (e.g., healing iron golems with eggs after replacing iron ingots).

Use when standard recipe replacement fails for specific mods. Note: Only affects item detection – does not fully inherit original item functionality.

Roadmap - Properties Stripping: Remove prop

Как установить

Скачайте файл на официальной странице ниже и положите его в папку mods (для модов) или plugins (для плагинов) вашего сервера или клиента. Для модов нужен совместимый загрузчик. Версия должна совпадать с версией Minecraft.

Текст подготовлен автоматически из описания на Modrinth и ждёт проверки редакцией.

Редакция NLZONE

Пишем о серверах, модах и играх, в которые играем сами. Нашли ошибку — напишите нам, исправим.

Комментарии 0

Комментарии к этому материалу отключены.

Читайте также