Package buildcraft.api.recipes

Examples of buildcraft.api.recipes.IFlexibleCrafter


        if(takeNext) {
          nextRecipe = (FlexibleRecipe<ItemStack>) r;
          break;
        }
        if(output != null && ItemStack.areItemStacksEqual(output, ((FlexibleRecipe<ItemStack>)r).output)) {
          if(((FlexibleRecipe<ItemStack>)r).canBeCrafted(new IFlexibleCrafter() { // Read Proxy to IInventory
            @Override public int getCraftingItemStackSize() {return inputs.getSizeInventory();}
            @Override public ItemStack getCraftingItemStack(int paramInt) {return inputs.getStackInSlot(paramInt);}
            @Override public int getCraftingFluidStackSize() {return 0;}
            @Override public FluidStack getCraftingFluidStack(int paramInt) {return null;}
            @Override public ItemStack decrCraftingItemgStack(int paramInt1, int paramInt2) {return null;}
View Full Code Here

TOP

Related Classes of buildcraft.api.recipes.IFlexibleCrafter

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.