Skip to content

Commit 2ed876a

Browse files
authored
Switching Hay Bale recipe from compressor to packager (#1592)
1 parent 9c0a704 commit 2ed876a

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

src/main/java/gregtech/loaders/recipe/MachineRecipeLoader.java

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,9 @@
5757

5858
public class MachineRecipeLoader {
5959

60+
private MachineRecipeLoader() {
61+
}
62+
6063
public static void init() {
6164
ChemistryRecipes.init();
6265
FuelRecipes.registerFuels();
@@ -81,7 +84,13 @@ public static void init() {
8184
private static void registerBendingCompressingRecipes() {
8285
RecipeMaps.COMPRESSOR_RECIPES.recipeBuilder().inputs(new ItemStack(Blocks.ICE, 2, OreDictionary.WILDCARD_VALUE)).outputs(new ItemStack(Blocks.PACKED_ICE)).buildAndRegister();
8386
RecipeMaps.COMPRESSOR_RECIPES.recipeBuilder().input(OrePrefix.dust, Materials.Ice, 1).outputs(new ItemStack(Blocks.ICE)).buildAndRegister();
84-
RecipeMaps.COMPRESSOR_RECIPES.recipeBuilder().inputs(new ItemStack(Items.WHEAT, 9)).outputs(new ItemStack(Blocks.HAY_BLOCK)).buildAndRegister();
87+
88+
RecipeMaps.PACKER_RECIPES.recipeBuilder()
89+
.inputs(new ItemStack(Items.WHEAT, 9))
90+
.inputs(new CountableIngredient(new IntCircuitIngredient(9), 0))
91+
.outputs(new ItemStack(Blocks.HAY_BLOCK))
92+
.duration(200).EUt(2)
93+
.buildAndRegister();
8594

8695
RecipeMaps.COMPRESSOR_RECIPES.recipeBuilder()
8796
.input(OrePrefix.dust, Materials.Fireclay)

0 commit comments

Comments
 (0)