Package crazypants.enderio.machine.recipe

Examples of crazypants.enderio.machine.recipe.RecipeOutput


    return false;
  }
 
  public float getMultiplierForInput(ItemStack input, Fluid output) {
    for (IRecipe recipe : recipes) {
      RecipeOutput out = recipe.getOutputs()[0];
      if(out.getFluidOutput().getFluid().getID() == output.getID()) {
        for(RecipeInput ri : recipe.getInputs()) {
          if(ri.isInput(input)) {
            return ri.getMulitplier();
          }
        }
View Full Code Here


    }
    Log.info("Finished processing Alloy Smelter recipes. " + recipes.size() + " recipes avaliable.");
  }

  public void addRecipe(ItemStack input, int energyCost, ItemStack output) {
    addRecipe(input, energyCost, new RecipeOutput(output, 1));
  }
View Full Code Here

    outputFluidStack = os;

    this.inputStacks = recipe.getInputStacks();
    inputs = recipe.getInputs();

    output = new RecipeOutput[] { new RecipeOutput(outputFluidStack) };
    energyRequired = recipe.getEnergyRequired();
   
    requiredItems = 1;
    for (RecipeInput ri : inputs) {
      if(!ri.isFluid() && ri.getSlotNumber() == 1) {
View Full Code Here

      return Collections.emptyList();
    }
    List<IRecipe> result = new ArrayList<IRecipe>();
    Map<ItemStack, ItemStack> metaList = FurnaceRecipes.smelting().getSmeltingList();
    for (Entry<ItemStack, ItemStack> entry : metaList.entrySet()) {
      result.add(new Recipe(new RecipeInput(entry.getKey()), RF_PER_ITEM, new RecipeOutput(entry.getValue())));
    }
    return result;
  }
View Full Code Here

TOP

Related Classes of crazypants.enderio.machine.recipe.RecipeOutput

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.