RingoLib merges duplicate items, blocks, and fluids across mods, strips unwanted recipes, and keeps missing-mod items from turning into air in existing saves.
Works with Create and Registrate-based addons (TFMG, Create Big Cannons, Create Deco), JEI, EMI, and Curios API.
What does this mod do?
Material deduplication and registry redirects
Drop two or three tech or magic mods into one modpack and you immediately end up with multiple incompatible versions of steel, lead, brass, or molten metals. RingoLib intercepts duplicate registrations at startup (including Registrate mods that otherwise crash with unregistered Intrusive Holder errors), wires up native NeoForge registry aliases so tags and recipes point to the item you kept, and clears redirected duplicates out of creative tabs.
Before

After
For the sake of illustration, I used various mods that add lead.

Wildcard recipe filtering
Aliasing an item keeps old crafting recipes working, which often leaves duplicate 9 ingots -> 1 block recipes in JEI and EMI. RingoLib drops unwanted recipes inside RecipeManager before JSON parsing using exact IDs or * and ? wildcards. Edit disabled_recipes.json and run /reload, or disable recipes on the fly without waiting for /reload via /rl recipes disable and /rl hand.
Save preservation (DummyItem & DummyBlock)
Removing or swapping a mod in an existing world normally turns unknown items into minecraft:air the first time a chest loads. For every rule in your migration list, RingoLib wraps missing items and blocks into ringolib:dummy_item and ringolib:dummy_block, keeping the original ID and DataComponents intact. Reinstall the required mod and the items restore themselves in the player's inventory with internal placeholder tags stripped so they stack with fresh items.
Modpack tools, lag profiler, and item bans (/ringolib & /rl)
Built-in operator commands (permission level 2) under /ringolib (alias /rl):
/rl hand— replacement for/ct handthat copies plainnamespace:pathIDs directly to your clipboard ([JSON]badge, fluid mB volume,#c:*-first tags,DataComponentspatch SNBT, and output recipes with one-click[Disable]buttons)./rl look— raycasts up to 16 blocks to inspect a block (BlockState, tags,BlockEntitySNBT) or entity (UUID, health, effects, activeAttributeModifierIDs)./rl recipes&/rl audit— live persistent recipe disabling (disable/enable/list), crafting conflict detection (recipe_conflicts.json), config validation (validate), and cross-mod duplicate scanning (duplicate_candidates.jsonwith a ready-to-editmigrations_template)./rl dump ingots|effects|fluids— JSON exports to speed up writingmigrations.jsonand effect configs./locate ore <block_or_tag> [radius]&/rl structure place <id> [rotation]— spiral ore search supporting#c:ores/*tags (default radius512, max2048) and Ponder/datapack.nbtstructure placer./rl ban add|remove|list|clear— writesconfig/ringolib/banned_items.json, blocks pickup and crafting results, purges banned items from player inventories once per second, and syncs red warning tooltips to clients./rl lag— TPS/MSPT monitor withitems,entities,tiles(tickingBlockEntities),players,curios <player>,near,hotspots,history, smartcleanup(sparingDummyItem, enchanted/named gear, containers/bundles,RARE/EPICloot, and boss/netherite gear),auto items(60s check), andalert(30s operator alerts)./rl player revive|force_respawn|drop_inventory|attributes&/rl warnings reset— player state recovery (includingNaN/Infinitymax health repair) and warning cache reset.

One-time warning screens
Mod and modpack authors can use RingoWarningAPI to display one-time AlertScreen notices on the title screen or on world join. Once the player clicks Proceed, the warning ID (title_<id> or world_<id>) is saved to config/ringolib/shown_warnings.json.
Configuration (config/ringolib/)
RingoLib generates migrations.json and disabled_recipes.json in config/ringolib/ on first launch (with fallback reading of legacy ringolib_migrations.json and ringolib_disabled_recipes.json):
config/ringolib/migrations.json
{
"_comment": "Redirect CBC steel and molten steel to TFMG",
"items": [
{
"from": "createbigcannons:steel_ingot",
"to": "tfmg:steel_ingot",
"required_mod": "tfmg",
"redirect_registry": true
}
],
"blocks": [
{
"from": "createbigcannons:steel_block",
"to": "tfmg:steel_block",
"required_mod": "tfmg",
"redirect_registry": true
}
],
"fluids": [
{
"from": "createbigcannons:molten_steel",
"to": "tfmg:molten_steel",
"required_mod": "tfmg",
"redirect_registry": true
}
],
"registry_redirects": []
}
Each "fluids" entry redirects the still fluid, flowing_ fluid, placed liquid block, and neoforge:fluid_type in one rule.
config/ringolib/disabled_recipes.json
{
"_comment": "Disable recipes by exact ID or * / ? wildcard",
"disabled_recipes": [
"createbigcannons:steel_block",
"createbigcannons:steel_ingot_from_*",
"tfmg:crafting/materials/lead_*"
]
}
Commands also read and write banned_items.json and shown_warnings.json, and export reports to duplicate_candidates.json, recipe_conflicts.json, ingots_dump.json, effects_dump.json, and fluids_dump.json inside config/ringolib/.
Developer API
All public Java entry points live in com.ringoway.ringolib.api: RingoMigrationAPI, RegistryRedirectManager, RecipeFilterManager, and RingoWarningAPI.
// Redirect an item and alias its registry ID
RingoMigrationAPI.registerItemRedirect("oldmod:copper_gear", "create:copper_gear", "create");
// Redirect both Block and BlockItem
RingoMigrationAPI.registerBlockAndItemRedirect("oldmod:steel_block", "tfmg:steel_block", "tfmg");
// Redirect still fluid, flowing fluid, FluidType, and liquid block
RingoMigrationAPI.registerFluidRedirect("oldmod:crude_oil", "tfmg:crude_oil", "tfmg");
Mod Compatibility
| Mod | What it does |
|---|---|
| Create & Registrate addons | Prevents intrusive holder crashes when cancelling Registrate entries via @Pseudo RegistrateRegistrationMixin |
| JEI & EMI | Filtered recipes are removed before syncing; redirected items and blocks resolve to the chosen target |
| Curios API (optional) | /rl player drop_inventory drops Curios slots too, and /rl lag curios <player> reports equipped Curios per mod |

