HomeJavaModsOne Enough Item
One Enough Item
ModsJava

One Enough Item

by MerrySnow · on CurseForge

Which build do you need?

This mod ships a separate file for every mod loader and every version of the game. Pick both, then download — the wrong build installs fine and then does nothing in the game.

Mod loader

Minecraft version

⬇ Download for 1.21.1 · Fabric⬇ Download for 1.20.1 · Fabric⬇ Download for 1.21.1 · NeoForge⬇ Download for 1.20.1 · Forge⬇ Download for 1.17.1–1.19.2 · Forge
I don't know my version or loader
Open the Minecraft launcher and look at the profile you play on — it names both, like fabric-loader-1.21.4. The version also shows in the bottom-right corner of the game's main menu.
No loader in the profile name? Then it's plain Minecraft, and these mods won't run — you need Fabric or NeoForge installed first.

OneEnoughItem (OEI)

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.

Typical Cases

e7b458ea
17 types of tomatoes in a modpack

304e2a74
Six types of silver ore in a modpack

All with independent recipes!

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

Usage

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

[
    {
        "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!

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.

Effects

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

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

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

All recipes are automatically processed, including JEI displays:
JEI

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.

Deep Replacement

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

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more