Utility Core
Shared utilities and features for mod developers and players
Minecraft 26.1.2
NeoForge 26.1.2.78+
A library mod for NeoForge (MC 26.1.2 / 26.2) that provides shared utilities and features for mod developers and players.
Features
Recipe Conflict Resolution (Polymorph-style)
When multiple crafting recipes match the same inputs, a selection widget appears in the crafting table and inventory 2x2 grid, allowing players to choose which output they want.
- Server-side: Detects matching recipes, stores the player’s selection via attachments
- 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 are automatically clamped to 0, preventing crash-causing errors.
Configurable
All features can be configured via the in-game config screen or the config file.
Developer API
Other mods can integrate with the recipe selection system using the provided PolymorphApi class.
Requirements
- NeoForge 26.1.2+
- Both client and server
Known Incompatibilities
- Fast Workbench (fastbench): Conflicts with the recipe selection system. Remove it to use this feature.