From 2ed876a782bca1993a57d09e390f625de2eb0864 Mon Sep 17 00:00:00 2001 From: LAGIdiot Date: Mon, 17 May 2021 20:05:26 +0200 Subject: [PATCH] Switching Hay Bale recipe from compressor to packager (#1592) --- .../gregtech/loaders/recipe/MachineRecipeLoader.java | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/main/java/gregtech/loaders/recipe/MachineRecipeLoader.java b/src/main/java/gregtech/loaders/recipe/MachineRecipeLoader.java index 030a7a12f8..798eb9d409 100644 --- a/src/main/java/gregtech/loaders/recipe/MachineRecipeLoader.java +++ b/src/main/java/gregtech/loaders/recipe/MachineRecipeLoader.java @@ -57,6 +57,9 @@ public class MachineRecipeLoader { + private MachineRecipeLoader() { + } + public static void init() { ChemistryRecipes.init(); FuelRecipes.registerFuels(); @@ -81,7 +84,13 @@ public static void init() { private static void registerBendingCompressingRecipes() { RecipeMaps.COMPRESSOR_RECIPES.recipeBuilder().inputs(new ItemStack(Blocks.ICE, 2, OreDictionary.WILDCARD_VALUE)).outputs(new ItemStack(Blocks.PACKED_ICE)).buildAndRegister(); RecipeMaps.COMPRESSOR_RECIPES.recipeBuilder().input(OrePrefix.dust, Materials.Ice, 1).outputs(new ItemStack(Blocks.ICE)).buildAndRegister(); - RecipeMaps.COMPRESSOR_RECIPES.recipeBuilder().inputs(new ItemStack(Items.WHEAT, 9)).outputs(new ItemStack(Blocks.HAY_BLOCK)).buildAndRegister(); + + RecipeMaps.PACKER_RECIPES.recipeBuilder() + .inputs(new ItemStack(Items.WHEAT, 9)) + .inputs(new CountableIngredient(new IntCircuitIngredient(9), 0)) + .outputs(new ItemStack(Blocks.HAY_BLOCK)) + .duration(200).EUt(2) + .buildAndRegister(); RecipeMaps.COMPRESSOR_RECIPES.recipeBuilder() .input(OrePrefix.dust, Materials.Fireclay)