@@ -35,8 +35,8 @@ public LightningConcentratorRecipe(ResourceLocation id, ItemStack output, NonNul
3535
3636 @ Override
3737 public boolean matches (Inventory inv , World worldIn ) {
38- if (recipeItems .get (0 ).test (inv .getStackInSlot (0 ))) {
39- return recipeItems .get (1 ).test (inv .getStackInSlot (1 )) && recipeItems .get (2 ).test (inv .getStackInSlot (2 )) && recipeItems .get (3 ).test (inv .getStackInSlot (3 )) && recipeItems .get (4 ).test (inv .getStackInSlot (4 )) && recipeItems . get ( 5 ). test ( inv . getStackInSlot ( 5 )) ;
38+ if (recipeItems .get (0 ).test (inv .getStackInSlot (0 ))) {
39+ return recipeItems .get (1 ).test (inv .getStackInSlot (1 )) && recipeItems .get (2 ).test (inv .getStackInSlot (2 )) && recipeItems .get (3 ).test (inv .getStackInSlot (3 )) && recipeItems .get (4 ).test (inv .getStackInSlot (4 ));
4040 }
4141
4242 return false ;
@@ -52,7 +52,7 @@ public ItemStack getRecipeOutput() {
5252 return output .copy ();
5353 }
5454
55- public ItemStack getIcon () {
55+ public ItemStack getIcon () {
5656 return new ItemStack (ModBlocks .LIGHTNING_CONCENTRATOR .get ());
5757 }
5858
@@ -66,7 +66,7 @@ public IRecipeSerializer<?> getSerializer() {
6666 return ModRecipeTypes .LIGHTNING_SERIALIZER .get ();
6767 }
6868
69- public static class LightningRecipeType implements IRecipeType <LightningConcentratorRecipe > {
69+ public static class LightningRecipeType implements IRecipeType <LightningConcentratorRecipe > {
7070 @ Override
7171 public String toString () {
7272 return LightningConcentratorRecipe .TYPE_ID .toString ();
@@ -107,7 +107,7 @@ public LightningConcentratorRecipe read(ResourceLocation recipeId, PacketBuffer
107107 @ Override
108108 public void write (PacketBuffer buffer , LightningConcentratorRecipe recipe ) {
109109 buffer .writeInt (recipe .getIngredients ().size ());
110- for (Ingredient ing : recipe .getIngredients ()) {
110+ for (Ingredient ing : recipe .getIngredients ()) {
111111 ing .write (buffer );
112112 }
113113 buffer .writeItemStack (recipe .getRecipeOutput (), false );
0 commit comments