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
17 types of tomatoes in a modpack
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!
KubeJS Integration:
ServerEvents.highPriorityData(event => {
event.addJson("oei:replacements/raw_materials.json", [
{
"matchItems": ["#forge:raw_materials/silver"],
"resultItems": "thermal:raw_silver"
}
]);
});
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:
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.
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
- Properties Stripping: Remove properties of replaced items (e.g., food properties to exclude them from Spice of Life handbooks). Configurable.
- Tag Inheritance: Make representatives inherit all tags from replaced items.
- Tag Removal: Completely strip tags from replaced items to eliminate them from recipes.
How to Install One Enough Item (Mod)
One Enough Item by MerrySnow is verified for Fabric, Forge, Neoforge across Minecraft versions 1.17, 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2 (latest release: 1.0.0, file size: 255 KB). Follow the steps below to install it safely from ModCraft.tv:
- Click the Download button above and select your Minecraft version (1.17, 1.17.1, 1.18, 1.18.1, 1.18.2, 1.19, 1.19.1, 1.19.2) and platform (Fabric, Forge, Neoforge).
- Make sure you have the compatible loader or environment installed for Fabric, Forge, Neoforge.
- Move the downloaded One Enough Item file into your Minecraft
.minecraft/modsfolder and launch the game.
All Versions
+ Add Version| Name | Game version | Platforms | Published | Downloads | Actions |
|---|---|---|---|---|---|
| 2mo ago | 18 | ||||
| 2mo ago | 9 | ||||
| 2mo ago | 6 | ||||
| 2mo ago | 4 | ||||
| 2mo ago | 4 | ||||
| 2mo ago | 3 | ||||
| 2mo ago | 3 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 2 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 | ||||
| 2mo ago | 1 |
- supported jech
- fixed bugs about server
No any new content.
Global defaults can be set in the config and will apply if not defined in the datapack.
Docs: [sighs.cc/oei/editor](https://doc.sighs.cc/docs/OneEnoughItem/editor)
Global defaults can be set in the config and will apply if not defined in the datapack.
Docs: [sighs.cc/oei/editor](https://doc.sighs.cc/docs/OneEnoughItem/editor)
Global defaults can be set in the config and will apply if not defined in the datapack.
Docs: [sighs.cc/oei/editor](https://doc.sighs.cc/docs/OneEnoughItem/editor)
- Note**: Jupiter is Required Dependency on this version
- Refactored UI** (basically changed the textures)
- New feature:** auto-replace recipes & tags on reload, configurable via settings:
Data_Rewrite_Mode0→ do nothing (may cause bugs)1→ keep all2→ replace allTag_Rewrite_Mode0→ do nothing (may cause bugs)1→ replace all
- Data\_Dir\_Rules explanation:**
directory→ name of the datapack folder to be replacedfields→ the key/value pairs of items in the datapackdeepReplace→ whether deep replacement is enabledfalse: use this when the data structure is simple, or you only care about top-level fieldstrue: use this when the structure is complex and you need to ensure specified fields are replaced at all levels
These changes fix all previously known bugs.
- Note**: Jupiter is Required Dependency on this version
- Refactored UI** (basically changed the textures)
- New feature:** auto-replace recipes & tags on reload, configurable via settings:
Data_Rewrite_Mode0→ do nothing (may cause bugs)1→ keep all2→ replace allTag_Rewrite_Mode0→ do nothing (may cause bugs)1→ replace all
- Data\_Dir\_Rules explanation:**
directory→ name of the datapack folder to be replacedfields→ the key/value pairs of items in the datapackdeepReplace→ whether deep replacement is enabledfalse: use this when the data structure is simple, or you only care about top-level fieldstrue: use this when the structure is complex and you need to ensure specified fields are replaced at all levels
These changes fix all previously known bugs.
- Note**: Jupiter is Required Dependency on this version
- Refactored UI** (basically changed the textures)
- New feature:** auto-replace recipes & tags on reload, configurable via settings:
Data_Rewrite_Mode0→ do nothing (may cause bugs)1→ keep all2→ replace allTag_Rewrite_Mode0→ do nothing (may cause bugs)1→ replace all
- Data\_Dir\_Rules explanation:**
directory→ name of the datapack folder to be replacedfields→ the key/value pairs of items in the datapackdeepReplace→ whether deep replacement is enabledfalse: use this when the data structure is simple, or you only care about top-level fieldstrue: use this when the structure is complex and you need to ensure specified fields are replaced at all levels
These changes fix all previously known bugs.
fixed some other bugs.