* Fixes #4253: Just transfer the recipe id instead of every ingredient. * If possible handle any IRecipe for processing mode * Improvements and support for AE2 facades. * Switched to using JEI's displayed stacks (which means we can remove the shapeless variant). Co-authored-by: Sebastian Hartte <sebastian@hartte.de>
This commit is contained in:
@@ -82,11 +82,15 @@ public class JEIPlugin implements IModPlugin {
|
||||
|
||||
@Override
|
||||
public void registerRecipeTransferHandlers(IRecipeTransferRegistration registration) {
|
||||
// Allow recipe transfer from JEI to crafting and pattern terminal
|
||||
registration.addRecipeTransferHandler(new RecipeTransferHandler<>(CraftingTermContainer.class),
|
||||
VanillaRecipeCategoryUid.CRAFTING);
|
||||
registration.addRecipeTransferHandler(new RecipeTransferHandler<>(PatternTermContainer.class),
|
||||
|
||||
// Allow vanilla crafting recipe transfer from JEI to crafting terminal
|
||||
registration.addRecipeTransferHandler(
|
||||
new CraftingRecipeTransferHandler(CraftingTermContainer.class, registration.getTransferHelper()),
|
||||
VanillaRecipeCategoryUid.CRAFTING);
|
||||
|
||||
// Universal handler for processing to try and handle all IRecipe
|
||||
registration.addUniversalRecipeTransferHandler(
|
||||
new PatternRecipeTransferHandler(PatternTermContainer.class, registration.getTransferHelper()));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user