diff --git a/resources/changelog/1.18.2-1.1.6.txt b/resources/changelog/1.18.2-1.1.6.txt new file mode 100644 index 00000000..ab019480 --- /dev/null +++ b/resources/changelog/1.18.2-1.1.6.txt @@ -0,0 +1,6 @@ +As always, don't forget to backup your world before updating! +Requires CyclopsCore version 1.13.4 or higher. + +Fixes: +* Fix 2x2 Integrated Crafting recipes from Machine Reader failing, Closes CyclopsMC/IntegratedDynamics#1316 + diff --git a/resources/changelog/1.19.2-1.1.6.txt b/resources/changelog/1.19.2-1.1.6.txt new file mode 100644 index 00000000..83dd2b00 --- /dev/null +++ b/resources/changelog/1.19.2-1.1.6.txt @@ -0,0 +1,6 @@ +As always, don't forget to backup your world before updating! +Requires CyclopsCore version 1.17.0 or higher. + +Fixes: +* Fix 2x2 Integrated Crafting recipes from Machine Reader failing, Closes CyclopsMC/IntegratedDynamics#1316 + diff --git a/src/main/java/org/cyclops/integratedcrafting/core/crafting/processoverride/CraftingProcessOverrideCraftingTable.java b/src/main/java/org/cyclops/integratedcrafting/core/crafting/processoverride/CraftingProcessOverrideCraftingTable.java index d3ac4519..753a45a6 100644 --- a/src/main/java/org/cyclops/integratedcrafting/core/crafting/processoverride/CraftingProcessOverrideCraftingTable.java +++ b/src/main/java/org/cyclops/integratedcrafting/core/crafting/processoverride/CraftingProcessOverrideCraftingTable.java @@ -52,6 +52,10 @@ public boolean craft(Function, PartPos> targetGetter, Level level = target.getPos().getLevel(true); return CraftingHelpers.findServerRecipe(RecipeType.CRAFTING, grid, level) + .or(() -> { + CraftingGrid gridSmall = new CraftingGrid(ingredients, 2, 2); + return CraftingHelpers.findServerRecipe(RecipeType.CRAFTING, gridSmall, level); + }) .map(recipe -> { ItemStack result = recipe.assemble(grid, level.registryAccess());