package net.acomputerdog.BlazeLoader.api.recipe;

import net.minecraft.inventory.InventoryCrafting;
import net.minecraft.item.ItemStack;
import net.minecraft.world.World;

public class ReversableShapedRecipe extends BShapedRecipe {
	private boolean anyDirection = true;
	
	public ReversableShapedRecipe(int par1, int par2, ItemStack[] par3ArrayOfItemStack, ItemStack par4ItemStack) {
    	super(par1, par2, par3ArrayOfItemStack, par4ItemStack);
    }
	
	public void setReverseOnly() {
		anyDirection = false;
	}
	
	public boolean matches(InventoryCrafting var1, World var2) {
		if (anyDirection) {
			return super.matches(var1, var2);
		}
		return false;
	}
	
	public ItemStack[] getRecipeInput() {
		return this.recipeItems.clone();
	}
}

@@ -377,16 +377,17 @@
 tack) %7B%0A
+%09
     %09sup
@@ -439,20 +439,17 @@
 Stack);%0A
-    
+%09
 %7D%0A%09%0A%09pub
@@ -551,20 +551,20 @@
 ing 
-var1
+grid
 , World 
 var2
@@ -559,20 +559,17 @@
 , World 
-var2
+w
 ) %7B%0A%09%09if
@@ -614,18 +614,15 @@
 hes(
-var1, var2
+grid, w
 );%0A%09

Update ReversableShapedRecipe.java