JustEnoughItems icon indicating copy to clipboard operation
JustEnoughItems copied to clipboard

[Bug]: Recipe transfer handler does not work for items with certain subtype interpreters

Open Roelymole opened this issue 1 month ago • 0 comments

Steps to Reproduce the Bug

View a recipe where one of the ingredients has a subtype interpreter that returns different values for UidContext.Ingredient and UidContext.Recipe whilst accessing the correct workstation for the recipe with all of the required ingredients in your inventory.

Expected Behavior

Clicking the move items button should transfer the ingredients to the appropriate slots.

Actual Behavior

The move items button does not work and the missing items tooltip is shown.

Image

Mod Pack URL (Optional)

No response

Mod Pack Version (Optional)

No response

Extra Notes (Optional)

I did a bit of digging and this seems to be a similar issue to #2102, however the fix was reverted by #2987.

This comment in UidContext.java still suggests that the recipe transfer handlers are using UidContext.Recipe, so I can only assume that this change was unintentional.

I imagine replacing UidContext.Ingredient with UidContext.Recipe in RecipeTransferUtil.java is all that is required.

latest.log

No response

Roelymole avatar Nov 27 '25 21:11 Roelymole