Mods
Resource Packs
Data Packs
Modpacks
Shaders
Plugins
Mods Resource Packs Data Packs Plugins Shaders Modpacks
Get Modrinth App Upgrade to Modrinth+
Sign in
ModsPluginsData PacksShadersResource PacksModpacks
Sign in
Settings
One Enough Item

One Enough Item

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

492
6

Compatibility

Minecraft: Java Edition

1.21.x
1.20.x

Platforms

Fabric
Forge
NeoForge

Supported environments

Client and server

90% of ad revenue goes to creators

Support creators and Modrinth ad-free with Modrinth+

Links

Report issues View source

Creators

Mafuyu404
Mafuyu404 Member
Flechazo098
Flechazo098 Member

Details

Licensed GPL-3.0-only
Published 4 days ago
Updated yesterday
DescriptionChangelogVersions

OneEnoughItem

This mod was developed to solve the problem of duplicate items in the item dictionary - three types of silver, four types of zinc, five types of tomatoes, six types of corn, each with their own distinct recipes.

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

Typical Cases

e7b458ea
17 types of tomatoes in a modpack

304e2a74
Six variations of an ore in a modpack

And they all have independent recipes!

Those days are now gone forever! With OEI, you can replace items with their designated representative item as soon as they're created!

Usage

OEI is data-pack driven and works in data/oneenoughitem/replacements folder. Implement simple item replacement using the following JSON structure:

[
    {
        "matchItems": [
            "minecraft:apple",
            "minecraft:potato",
            "minecraft:carrot"
        ],
        "resultItems": "minecraft:egg"
    },
    {
        "matchItems": [
            "minecraft:stone",
            "minecraft:white_wool",
            "minecraft:oak_log"
        ],
        "resultItems": "minecraft:redstone"
    }
]

Add item IDs to be replaced in the matchItems array, and specify the unified representative item in resultItems for automatic in-game replacement.

With KubeJS:

ServerEvents.highPriorityData(event => {
    event.addJson("oneenoughitem:replacements/raw_materials.json", [
        {
            "matchItems":
                [
                    "#forge:raw_materials/silver"
                ],
            "resultItems": "thermal:raw_silver"
        }
    ]);
});

Effects

OEI's item replacement operates at an extremely early stage - not through real-time detection of player inventories.

How early?
For example: If you replace all game items with eggs, opening CreativeModeTabs shows this:
CreativeModeTabs

From the moment of creation, these items cease to be their original selves!

Consequently, related recipes also adapt. Example when replacing oak log with redstone dust:
Crafting

All item recipes automatically reflect the changes.

When used with recipe managers like JEI, displayed recipes update accordingly:
JEI

Essentially, all JEI-supported recipes are automatically compatible. Even unsupported recipes (excluding hard-coded implementations) will function with replacements.

Difference from Almost Unified

Almost Unified provides a primary item for configured tags and makes recipes use that item.

OEI completely bypasses the tag system, taking a resolute approach to item replacement. It achieves more decisive and thorough unification of similar items - all replaced items become permanently inaccessible in-game.

Future Plans

  • None at the moment. Suggestions are welcome!

Modrinth is open source.

main@016c3d7

© Rinth, Inc.

Company

TermsPrivacyRulesCareers

Resources

SupportBlogDocsStatus

Interact

Discord X (Twitter) Mastodon Crowdin
Get Modrinth App Settings
NOT AN OFFICIAL MINECRAFT SERVICE. NOT APPROVED BY OR ASSOCIATED WITH MOJANG OR MICROSOFT.