Utility Core (1.11.6)
Curse Maven Snippet
What's new
v1.11.6 - Recipe Selection Persistence Fix
Fix
- Recipe selection automatically reverting to first option: When you clicked a recipe variant in the selector, it would immediately revert back to the first option. The root cause was that processing the selection click on the server side triggered an additional recalculation of the recipe list via
menu.slotsChanged(), which would re-execute the entire crafting grid validation logic and reset the selection. The fix removes this unnecessary call, allowing the selected recipe to persist once the user makes their choice.
Technical Changes
SelectRecipePacket.handle()— removed the call tomenu.slotsChanged()that was causing a re-execution ofMixinCraftingMenu.onSlotChangedCraftingGrid(). The packet now applies the recipe selection directly viasetRemoteSlot()and syncs to the client without triggering validation logic again.- Added debug logging when a recipe is selected, showing the recipe name and index in the server log for troubleshooting.
JAR: utility_core-26.2-neoforge-1.11.6.jar
This mod has no additional files

