Mod

Utility Core

Quick rating

Utility Core

No reviews yet

A library mod providing recipe conflict resolution and shared utilities for NeoForge mods.

Mod Loaders
NeoForge
Minecraft

Community voices

Reviews

Versions
Loading versions…
Match includes

Click once to include, again to exclude, again to clear

Rating Any
Any 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0
Min
Max
Play Status
Reviews
Time Played
hrs+
Verified developers only
Has developer response
List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Delete this review?

This removes your review from the project. You can write a new review after.

Review submitted for moderation

Your review has been sent to moderators, who will check that it meets our guidelines before it appears publicly.

No reviews yet. Be the first to review this project!

Get it on

Available Platforms

About

Project Details

Type
Mod
Latest Version
Utility Core (1.0.22)
Authors

For authors

Embed Badge

If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.

Custom banner text
ModDex rating badge preview

Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.

Identifiers

Platform IDs

CurseForge ID

Resources

External Links

Source Issues Wiki Discord

About

Description

⚙️ Utility Core

A library mod that resolves crafting conflicts and prevents damage crashes.




✨ Overview

Utility Core provides shared utilities for NeoForge modpacks. When multiple crafting recipes match the same ingredients, a selection widget lets you pick the output. Negative damage from mod interactions is automatically clamped to zero, preventing server crashes.


🎯 Features

🔀 Recipe Conflict Resolution

When multiple crafting recipes match the same inputs, a selection widget appears in the crafting table and inventory 2x2 grid. The selected recipe is highlighted in green, and alternatives are shown with a white background. Click any alternative to instantly change the output.

  • Server-side: Detects matching recipes, stores the player’s selection via attachments, syncs the output list to the client
  • Client-side: Renders a recipe selector grid, sends selection changes back to the server
  • Instant update: The result slot updates immediately when clicking an alternative recipe

🛡️ Damage Safety

Negative damage values from mod interactions (e.g., Apothic Attributes critical strikes + Tombstone’s Decrepitude effect) are automatically clamped to 0, preventing IllegalArgumentException: Damage cannot be negative crashes that would otherwise crash the server.

⚰️ Corail Tombstone Compatible

Automatically suppresses incompatible mixin errors from Tombstone 9.x without breaking functionality. GUI scale is restored after opening Tombstone menus.

⚙️ Configurable

All features can be configured via the in-game config screen or the config file:

  • Enable/disable the crafting recipe selector
  • Maximum number of alternative recipes displayed

💻 Developer API

Other mods can integrate with the recipe selection system using the provided PolymorphApi class.


📋 Requirements

Minecraft26.1.2
NeoForge26.1.2.78+


🎮 How to Use

  1. Install the mod on both client and server.
  2. Open a crafting table and place items that match multiple recipes.
  3. A selector grid appears — click an alternative recipe to choose your output.
  4. Configure via Mods menu > Utility Core > Config or config/utility_core-common.toml.

Known Incompatibilities

Fast Workbench (fastbench): This mod conflicts with the recipe selection system. Remove it to use this feature.


🔧 For Developers

// Access the API
PolymorphApi api = PolymorphApi.getInstance();

// Get all recipes matching a specific input
List<RecipeHolder<CraftingRecipe>> recipes = api.getRecipesFor(
    recipeManager, RecipeType.CRAFTING, craftingInput, level
);

// Get player recipe selection data
PlayerRecipeData data = api.getPlayerRecipeData(player);

// Clear player recipe selection data
api.clearPlayerRecipeData(player);




🙏 Credits

Developed by Stalking Dragons.



Codex Stalking Dragons
https://codex.skdragons.com/
Codex Stalking Dragons — Minecraft Modding

Screenshots

Gallery

This project has no gallery images yet.

Versions

Files

Relations

Project Relations

More like this

Similar Mods

Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.

On ModDex

Community snapshot

0
Ratings
0
Followers
0
In stacks

By the numbers

Statistics

<1,000
Downloads
Last Updated
Created
Last synced
When ModDex last fetched and imported data for this project from CurseForge or Modrinth. High-traffic and active projects are checked more often.
Next pipeline sync