Package net.mcft.copy.betterstorage.api.crafting

Examples of net.mcft.copy.betterstorage.api.crafting.RecipeInputItemStack


      // If none of the enchantments on the book can
      // be applied on the item, the recipe is invalid.
      if (!canApply) return null;
     
      output[i] = outputStack;
      requiredInput[i] = new RecipeInputItemStack(StackUtils.copyStack(stack, 1), true);
    }
   
    requiredInput[bookIndex] = new RecipeInputItemStack(StackUtils.copyStack(book, 0, false));
   
    return new StationCrafting(output, requiredInput, experienceCost);
   
  }
View Full Code Here


        outputStack.setItemDamage(0);
       
        ItemStack requiredStack = outputStack.copy();
        requiredStack.setItemDamage(OreDictionary.WILDCARD_VALUE);
        requiredStack.setTagCompound(null);
        requiredInput[i] = new RecipeInputItemStack(requiredStack);
       
      } else requiredInput[i] = ((numSheetsNeeded-- > 0) ? sheetUsed : sheetUnused);
     
      output[i] = outputStack;
    }
View Full Code Here

 
  @Override
  @SideOnly(Side.CLIENT)
  public List<IRecipeInput> getPossibleInputs() {
    return Arrays.<IRecipeInput>asList(RecipeInputCardboard.instance,
        new RecipeInputItemStack(new ItemStack(BetterStorageItems.cardboardSheet)));
  }
View Full Code Here

TOP

Related Classes of net.mcft.copy.betterstorage.api.crafting.RecipeInputItemStack

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.